lovr.audio.getPosition

Returns the position of the virtual audio listener, in meters.

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

Arguments

None

Returns

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

See also