[readonly] event : Object Stores the most recent DOM event.
isUp : boolean The "up" state of the key. This will remain true for as long as the keyboard thinks this key is up
onDown : Phaser.Signal This Signal is dispatched every
onHoldCallback : Function A callback that is called while this Key is held down. Warning: Depending on refresh rate that could
isDown : boolean The "down" state of the key. This will remain true for as long as the keyboard thinks this key is
downDuration(duration) → {boolean} Returns true if the
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
altKey : boolean The down state of the ALT key, if pressed at the same time as this key.
duration : number If the key is down this value holds the duration of that key press and is constantly updated.If the key
timeUp : number The timestamp when the key was last released. This is based on Game.time.now.
Page 1 of 2