Phaser API Documentation

  Version: 
setParticleAlpha(value)

Description:

Sets the opacity (alpha) of emitted particles.

You can also set the alpha of the entire emitter via setAlpha.

Parameters:

name type description
value Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType | Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType

A value between 0 (transparent) and 1 (opaque).

Returns:
Description:

This Particle Emitter.

Since: 3.60.0