Transform
This component handles the position, scale, and rotation of GameObject and User Interfaces
Component Author: Jabo Release Date: April 11, 2020
new Transform();translate(Vector2 by); // Move the position by the given Vector2
getPosition(); // Returns Vector2
getScale(); // Returns Vector2
getRotation(); // Returns float
setScale(Vector2 scale); // Change the scale
setPosition(Vector2 position); // Change the positionLast updated
Was this helpful?