onHoldCallback : Function A callback that is called while this Key is held down. Warning: Depending on refresh rate that could
event :MSPointerEvent | null The browser MSPointer DOM event. Will be null if no event has ever been received.Access this
isDown(keycode) → {boolean} Returns true of the key is currently pressed down. Note that it can
activePointer : Phaser.Pointer The most recently active
y : number The Y coordinate of the most recently active pointer.This value takes game scaling into account automatically
isUp : boolean The "up" state of the key. This will remain true for as long as the keyboard thinks this key is up
leave(event) Called when the Pointer leaves the target area. Parameters
onDown : Phaser.Signal This Signal is dispatched every
game : Phaser.Game Local reference to game.
downDuration(duration) → {boolean} Returns true if the
Page 11 of 29