Phaser API Documentation

  Version: 
setParticleScale([x], [y])

Description:

Sets the vertical and horizontal scale of the emitted particles.

You can also set the scale of the entire emitter via setScale.

Parameters:

name type arguments Default description
x number <optional> 1

The horizontal scale of the emitted Particles.

y number <optional> x

The vertical scale of emitted Particles. If not set it will use the x value.

Returns:
Description:

This Particle Emitter.

Since: 3.60.0