Difference between revisions of "love.mouse.isDown"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
Checks whether a certain button is down.
 
Checks whether a certain button is down.
 
== Function ==
 
== Function ==
Line 11: Line 10:
 
{{param|boolean|down|True if the specified button is down.}}
 
{{param|boolean|down|True if the specified button is down.}}
 
== See Also ==
 
== See Also ==
 +
 +
* [[MouseConstant|Mouse Constant / button]]
 
* [[parent::love.mouse]]
 
* [[parent::love.mouse]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Checks whether a certain button is down.}}
 
{{#set:Description=Checks whether a certain button is down.}}

Revision as of 16:03, 24 September 2010

Checks whether a certain button is down.

Function

Synopsis

down = love.mouse.isDown( button )

Arguments

MouseConstant button
The button to check.

Returns

boolean down
True if the specified button is down.

See Also