What it does
particles.dispose takes id.
Signature
particles.dispose(id)Arguments
id
Example · generated
function start() { particles.create('main', 10); particles.dispose('main');}particles.create is there to give the call something to act on; particles.dispose is the line that matters. The code sits in start(), which the engine calls once, when the entity spawns.