Difference between revisions of "love.mouse.getX"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Returns the current x-position of the mouse.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.mouse]]
 
* [[parent::love.mouse]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns the current x-position of the mouse.}}

Revision as of 16:17, 14 February 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