Phaser API Documentation

  Version: 
DeathZoneSourceCallback(x, y)

Parameters:

name type description
x number

The x coordinate of the particle to check against this source area.

y number

The y coordinate of the particle to check against this source area.

Type:
function
Returns:
Description:
  • True if the coordinates are within the source area.
Type:
  • boolean