isDown(buttonCode) → {boolean}
Returns true if the button is pressed down.
Parameters
Name | Type | Description |
---|---|---|
buttonCode | number | The buttonCode of the button to check. |
Returns
boolean -
True if the button is pressed down.
- Source code: input/SinglePad.js (Line 450)
Please login to continue.