The returned value sets what the property will be at the START of the particle's life, on emit.
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. |
The new value of the property.