Vector3

Object that represents a 3D position.

Constructors

V3(number X, number Y, number Z)

Properties

number xX component of the vector
number yY component of the vector
number zZ component of the vector

Static properties

Vector3 zeroShorthand for writing V3(0, 0, 0)

Examples

local position = V3(3, 2, 5);

local zero = Vector3.zero;