[readonly] event : Object Stores the most recent DOM event.
onDown : Phaser.Signal This Signal is dispatched every
new Key(game, keycode) If you need more fine-grained control over the handling of specific keys you can create and use Phaser.Key objects
downDuration(duration) → {boolean} Returns true if the
isDown : boolean The "down" state of the key. This will remain true for as long as the keyboard thinks this key is
onHoldCallback : Function A callback that is called while this Key is held down. Warning: Depending on refresh rate that could
isUp : boolean The "up" state of the key. This will remain true for as long as the keyboard thinks this key is up
timeDown : number The timestamp when the key was last pressed down. This is based on Game.time.now.
onHoldContext : Object The context under which the onHoldCallback will be called. Source
ctrlKey : boolean The down state of the CTRL key, if pressed at the same time as this key.
Page 1 of 2