Difference between revisions of "love.audio.getPosition"

(Corrected return parameters)
(Lemme' rewrite that)
Line 8: Line 8:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|x|The listener position along the x-axis.}}
+
{{param|number|x|The X position of the listener.}}
{{param|number|y|The listener position along the y-axis.}}
+
{{param|number|y|The Y position of the listener.}}
{{param|number|z|The listener position along the z-axis.}}
+
{{param|number|z|The Z position of the listener.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.audio]]
 
* [[parent::love.audio]]

Revision as of 19:23, 1 February 2011

Returns the position of the listener.

Function

Synopsis

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

Arguments

None.

Returns

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

See Also

Other Languages