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 arguments description
particle Phaser.GameObjects.Particles.Particle <optional>

The particle.

key string <optional>

The name of the property.

value number <optional>

The current value of the property.

Type:
function
Returns:
Description:

The new value of the property.

Type:
  • number