Difference between revisions of "love.mouse.getPosition"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 2010

Returns the current position of the mouse.

Function

Synopsis

x, y = love.mouse.getPosition( )

Arguments

None.

Returns

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

See Also