PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

Emit

The Emit method will cause the ParticleEmitter to emit the given number of particles similar to how ParticleEmitter/Rate does on ParticleEmitter/Enalbed emitters. Be warned - this always emits exactly the number of particles even if Roblox’ graphics settings are lower. Emitting too many particles can cause performance issues on lower-end hardware.

To clear any emit particles, use ParticleEmitter/Clear.

Parameters

Name Type Default Description
int
16

The number of particles to emit

Returns

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.


Emit Particles Over Distance

This code sample causes a parent ParticleEmitter to ParticleEmitter/Emit particles based on how far the parent BasePart moves.