Difference between revisions of "love.mouse.getX"

m (1 revision: Importing from potato (again).)
m (added languages section)
Line 1: Line 1:
 
 
Returns the current x-position of the mouse.
 
Returns the current x-position of the mouse.
 
== Function ==
 
== Function ==
Line 14: 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.}}
 +
 +
== Other Languages ==
 +
{{i18n|love.mouse.getX}}

Revision as of 19:39, 16 November 2010

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