Phaser API Documentation

  Version: 
<private> update(type, pointers)

Description:

This method is called when a DOM Event is received by the Input Manager. It handles dispatching the events to relevant input enabled Game Objects in this scene.

Parameters:

name type description
type number

The type of event to process.

pointers Array.<Phaser.Input.Pointer>

An array of Pointers on which the event occurred.

Returns:
Description:

true if this Scene has captured the input events from all other Scenes, otherwise false.

Type:
  • boolean
Since: 3.0.0
Source: src/input/InputPlugin.js (Line 661)