IsKeyPressed
From OxeyeWiki
|
daisy.isKeyPressed(keyCode) | ||
|
This method returns true if the specified key is pressed down. | ||
| Parameter | Expected Type | Description |
| keyCode | A number representing a key, see keyCodes | {{{3}}} |
| Returns | ||
|
Returns one Boolean, true if key is pressed, false otherwise. | ||
| Daisymoon Video Lib |
|---|
Example
local enterPressed = daisy.isKeyPressed(13)