W3cubDocs

/LÖVE

love.audio.getVelocity

Returns the velocity of the listener.

Function

Synopsis

x, y, z = love.audio.getVelocity( )

Arguments

None.

Returns

number x
The X velocity of the listener.
number y
The Y velocity of the listener.
number z
The Z velocity of the listener.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.audio.getVelocity