lovr.audio.setPosition

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

lovr.audio.setPosition(x, y, z)

Arguments

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

Returns

Nothing

See also