Phaser API Documentation

  Version: 
checkBounds(emitter)

Description:

Checks if this Particle is still within the bounds defined by the given Emitter.

If not, and depending on the Emitter collision flags, the Particle may either stop or rebound.

Parameters:

name type description
emitter Phaser.GameObjects.Particles.ParticleEmitter

The Emitter to check the bounds against.

Since: 3.0.0