Pointer

Class: Phaser.Pointer

Constructor

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 t