Difference between revisions of "love.mouse.setPosition"

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

Revision as of 16:17, 14 February 2010

Sets the current position of the mouse.

Function

Synopsis

love.mouse.setPosition( x, y )

Arguments

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

Returns

Nothing.

See Also