Phaser API Documentation

  Version: 
emitParticle([count], [x], [y])

Description:

Emits particles from each active emitter.

Parameters:

name type arguments description
count number <optional>

The number of particles to release from each emitter. The default is the emitter's own {@link Phaser.GameObjects.Particles.ParticleEmitter#quantity}.

x number <optional>

The x-coordinate to to emit particles from. The default is the x-coordinate of the emitter's current location.

y number <optional>

The y-coordinate to to emit particles from. The default is the y-coordinate of the emitter's current location.

Returns:
Description:

This Emitter Manager.