Phaser API Documentation

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

Description:

Emits particles at a given position (or the emitter's current position).

Parameters:

name type arguments Default description
count number <optional> this.quantity

The number of Particles to emit.

x number <optional> this.x

The x coordinate to emit the Particles from.

y number <optional> this.x

The y coordinate to emit the Particles from.

Returns:
Description:

The most recently emitted Particle.