Phaser API Documentation

  Version: 
setDeathZone([zoneConfig])

Description:

Sets or removes the Phaser.GameObjects.Particles.ParticleEmitter#deathZone.

Parameters:

name type arguments description
zoneConfig Phaser.Types.GameObjects.Particles.ParticleEmitterDeathZoneConfig <optional>

An object describing the zone, or undefined to remove any current death zone.

Returns:
Description:

This Particle Emitter.