parent : Phaser.Pointer |
onUp : Phaser.Signal This Signal is dispatched every
onDown : Phaser.Signal This Signal is dispatched every
event : Object The DOM event that caused the change in button state. Source
ctrlKey : boolean True if the control key was held down when this button was last pressed or released.Not supported on Gamepads
game : Phaser.Game A reference to the currently running game
onFloat : Phaser.Signal Gamepad only.This Signal
justPressed(duration) → {boolean} Returns the "just pressed" state
isDown : boolean The "down" state of the button. Source code:
timeUp : number The timestamp when the button was last released. Source code:
Page 1 of 3