Phaser API Documentation

  Version: 
flow(frequency, [count])

Description:

Puts the emitter in flow mode (frequency >= 0) and starts (or restarts) a particle flow.

To resume a flow at the current frequency and quantity, use Phaser.GameObjects.Particles.ParticleEmitter#start instead.

Parameters:

name type arguments Default description
frequency number

The time interval (>= 0) of each flow cycle, in ms.

count Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType <optional> 1

The number of particles to emit at each flow cycle.

Returns:
Description:

This Particle Emitter.