Difference between revisions of "love.mousepressed"

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

Revision as of 16:18, 14 February 2010

Callback function triggered when a mouse button is pressed.

Function

Synopsis

love.mousepressed( x, y, button )

Arguments

number x
Mouse x position.
number y
Mouse y position.
MouseConstant button
Mouse button pressed.

Returns

Nothing.

See Also