Difference between revisions of "love.mousepressed"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
Callback function triggered when a mouse button is pressed.
 
Callback function triggered when a mouse button is pressed.
 
== Function ==
 
== Function ==
Line 16: Line 15:
 
[[Category:Callbacks]]
 
[[Category:Callbacks]]
 
{{#set:Description=Callback function triggered when a mouse button is pressed.}}
 
{{#set:Description=Callback function triggered when a mouse button is pressed.}}
 +
== Other Languages ==
 +
{{i18n|love.mousepressed}}

Revision as of 20:09, 25 October 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

Other Languages