parent : Phaser.Pointer |
event : Object The DOM event that caused the change in button state. Source
onDown : Phaser.Signal This Signal is dispatched every
onUp : Phaser.Signal This Signal is dispatched every
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
isDown : boolean The "down" state of the button. Source code:
onFloat : Phaser.Signal Gamepad only.This Signal
justPressed(duration) → {boolean} Returns the "just pressed" state
altKey : boolean True if the alt key was held down when this button was last pressed or released.Not supported on Gamepads
Page 1 of 3