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
stopOnGameOut : boolean If true Pointer.stop will be called if the mouse leaves the game canvas.
leave(event) Called when the Pointer leaves the target area. Parameters
speed : Phaser.Point A point object representing the
forwardButton : Phaser.DeviceButton If this
onPointerUpGlobal(event) The internal method that handles the mouse up event from the window. Parameters
pressEvent : Object The most recent DOM event from keypress. Source code:
[readonly] event : Object Stores the most recent DOM event.
pointerUpCallback : Function A callback that can be fired on a MSPointerUp event. Source
x : number The horizontal coordinate of the Pointer. This value is automatically scaled based on the game scale.
Page 11 of 29