Vector2
Function
Description
new(X: number, Y: number) -> Vector2
This function creates a new Vector2 object with the specified X and Y coordinates and returns it. It requires two arguments.
split(Vector2: Vector2) -> X: number, Y: number
This function splits a Vector2 object into its X and Y components and returns them as separate outputs.
Last updated