Phaser API Documentation

  Version: 
EmitterOpOnEmitCallback(particle, key, value)

Description:

The returned value sets what the property will be at the START of the particle's life, on emit.

Parameters:

name type description
particle Phaser.GameObjects.Particles.Particle

The particle.

key string

The name of the property.

value number

The current value of the property.

Type:
function
Returns:
Description:

The new value of the property.

Type:
  • number