lovr.headset.getPosition

Returns the current position of the headset.

x, y, z = lovr.headset.getPosition()

Arguments

None

Returns

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

See also