Phaser API Documentation

  Version: 
forEachAlive(callback, context)

Description:

Calls a function for each active particle in this emitter. The function is sent two parameters: a reference to the Particle instance and to this Emitter.

Parameters:

name type description
callback Phaser.Types.GameObjects.Particles.ParticleEmitterCallback

The function.

context *

The functions calling context.

Returns:
Description:

This Particle Emitter.