Difference between revisions of "love.mouse.getX"

m (added languages section)
Line 13: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the current x-position of the mouse.}}
 
{{#set:Description=Returns the current x-position of the mouse.}}
 
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.mouse.getX}}
 
{{i18n|love.mouse.getX}}

Revision as of 10:34, 25 March 2011

Returns the current x-position of the mouse.

Function

Synopsis

x = love.mouse.getX( )

Arguments

None.

Returns

number x
The position of the mouse along the x-axis.

See Also


Other Languages