lovr.audio.getPosition

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

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

Arguments

None

Returns

NameTypeDescription
xnumber The x position of the listener.
ynumber The y position of the listener.
znumber The z position of the listener.

See also