IsMouseButtonPressed
From OxeyeWiki
(Difference between revisions)
Thewreck (Talk | contribs)
(Created page with '{{DaisyMethod | daisy.isMouseButtonPressed(button) | This method returns true if the specified button is pressed down. | {{MethodParam|button|A number|0 being left, 1 being right...')
(Created page with '{{DaisyMethod | daisy.isMouseButtonPressed(button) | This method returns true if the specified button is pressed down. | {{MethodParam|button|A number|0 being left, 1 being right...')
Latest revision as of 12:13, 19 January 2010
|
daisy.isMouseButtonPressed(button) | ||
|
This method returns true if the specified button is pressed down. | ||
| Parameter | Expected Type | Description |
| button | A number | 0 being left, 1 being right. |
| Returns | ||
|
Returns one Boolean, true if button is pressed, false otherwise. | ||
| Daisymoon Video Lib |
|---|
Example
local leftMouseButtonDown = daisy.isMouseButtonPressed(0)