name | type | arguments | Default | description |
---|---|---|---|---|
source | Phaser.Types.GameObjects.Particles.DeathZoneSource |
A shape representing the zone. See Phaser.GameObjects.Particles.Zones.DeathZone#source. |
||
type | string | <optional> | 'onEnter' |
'onEnter' or 'onLeave'. |