API Documentation for Vector2 datatype.
Vector2.new(x, y)
x and y must be integers! An example:
x
y
local vector2 = Vector2.new(2, 4) printl(vector2.x) -- prints 2
The property x component of the Vector2
The property y component of the Vector2