Controller:getPosition

Returns the current position of the Controller.

x, y, z = Controller:getPosition()

Arguments

None

Returns

NameTypeDescription
xnumberThe x position of the Controller.
ynumberThe y position of the Controller.
znumberThe z position of the Controller.

Notes

Units are in meters.

See also