Vector2
Object that represents a 2D position.
Constructors
V2(number X, number Y)
Properties
number x | X component of the vector |
number y | Y component of the vector |
Static properties
Vector2 zero | Shorthand for writing V2(0, 0, 0) |
Examples
local position = V2(10, 5);
local zero = Vector2.zero;