Phaser API Documentation

  Version: 
topOnly: boolean

Description:

When set to true (the default) the Input Plugin will emulate DOM behavior by only emitting events from the top-most Game Objects in the Display List.

If set to false it will emit events from all Game Objects below a Pointer, not just the top one.

Type:
boolean
Default: true
Since: 3.0.0
Source: src/input/InputPlugin.js (Line 174)