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