We use cookies on this site to enhance your user experience
Collapse Sidebar


The Clear method will instantly destroy any existing particles that have been emit by the ParticleEmitter via its natural emission (nonzero ParticleEmitter/Rate on an ParticleEmitter/Enabled emitter) or via ParticleEmitter/Emit. It is not possible to clear individual particles - all are deleted at once.

Sometimes it is desirable to clear particles before teleporting a character so that there are no lingering effects that might follow due to ParticleEmitter/LockedToPart.


Return Type Summary

Code Samples

ParticleEmitter Burst

This code sample causes a ParticleEmitter to ParticleEmitter/Emit particles in bursts of 10 every 2 seconds. It ParticleEmitter/Clears any existing particles before doing so.