Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

ParticleHandle

A playing effect that rides an object, from follow.

Property Type Description
setColor (color?) => void Starts the particles from now on in color, their alpha the effect’s own, or in the effect’s own colour when left out. After stop, it does nothing.
setRateMultiplier (multiplier) => void Multiplies the effect’s emission over time from now on, from 0 up: 2 doubles it, 0 stops it until a later call. The particles in the air finish their life, and its bursts and emission over distance keep their own. After stop, it does nothing.
setScale (scale?) => void Starts the particles from now on over the effect’s shape grown by scale, or at its own size when left out; the particles in the air stay where they are. After stop, it does nothing.
stop () => void Ends the emission. Live particles finish their life, and the effect then leaves the graph.