new Pointer(game, id, pointerMode)
A Pointer object is used by the Mouse, Touch and MSPoint managers and represents a single finger on the touch screen.
Parameters
Name Type Default Description game Phaser.Game A reference to the currently running game. id number The ID of the Pointer object within the game. Each game can have up to 10 active pointers. pointerMode Phaser.PointerMode (CURSOR | CONTACT) The operational mode of this pointer, eg. CURSOR or TOUCH.
Source code: input