Difference between revisions of "love.mousepressed"

Line 15: 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.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.mousepressed}}
 
{{i18n|love.mousepressed}}

Revision as of 18:04, 25 March 2011

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