Phaser API Documentation

  Version: 
setAlpha(value)

Description:

Sets the opacity of emitted particles.

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.