Vec3:unpack

Edit

Returns the 3 components of the vector as numbers.

x, y, z = Vec3:unpack()

Arguments

None

Returns

NameTypeDescription
xnumber The x value.
ynumber The y value.
znumber The z value.

See also