totalTouches : number The total number of times this Pointer has been touched to the touchscreen.
setInteractiveCandidateHandler(callback, context) Adds a callback that is fired every time Pointer.processInteractiveObjects
addKeyCapture(keycode) By default when a key is pressed Phaser will not stop the event from propagating up to the browser.There
clearCaptures() Clear all set key captures. Source code:
x : number The X coordinate of the most recently active pointer.This value takes game scaling into account automatically
onMouseUp(event) The internal method that handles the mouse up event from the browser. Parameters
enabled : boolean Mouse input will only be processed if enabled. Default
value : number Button value. Mainly useful for checking analog buttons (like shoulder triggers) on Gamepads.
keyCode : number The keycode of this key. Source code:
withinGame : boolean true if the Pointer is over the game canvas, otherwise false. Source
Page 23 of 29