Vec3:unpack

Returns the 3 components of the vector as numbers.

x, y, z = Vec3:unpack()

Arguments

None

Returns

NameTypeDescription
xnumberThe x value.
ynumberThe y value.
znumberThe z value.

See also