PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
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


Emit Particles Over Distance

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


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.