ParticleEmitter

Fire, sparks, dust and magic. Particles that scrub exactly, glow, light the room around them and show in path traced reflections.

A small granite pedestal with a dark cap on a low granite plinth, before a cream plaster wall at dusk, the sky fading, a dim cool light high on the front left; nothing comes out of it.
Before
The same frame with a ParticleEmitter in the cap: a fountain of small glowing orange particles rising, arching over and falling back round the pedestal.
After

After: A ParticleEmitter with Rate 90, Speed 4.5 to 5.5, Spread Angle 18 and Light Emission 1.

Under a Part it emits from inside the part's box along its +Y, spread by SpreadAngle, unless Shape and EmissionDirection say otherwise; under a NullObject, from a point. Nothing is simulated. Renders draw it as if it had played for Time seconds, so the same Time always looks the same. Rate, Lifetime, Speed, Size and Color shape the particles, and Brightness above 0 lights the scene. For bursts, add an EmissionPoint or call emitter:Emit(count).

Properties

Motion

NameTypeDefaultDescription
AccelerationVector30, 0, 0
Dragnumber0
0 to 100
LockedToPartbooleanfalseLike Roblox's: off, each particle stays where it was born as the part moves; on, everything rides the part.
RotSpeedNumberRange0, 0
RotationNumberRange0, 0
SpeedNumberRange5, 5
SpreadAngleVector215, 15How far particles spread from the face they leave by, which under a Part is its +Y unless EmissionDirection says otherwise.
VelocityInheritancenumber0
-1000 to 1000

Light

Brightnessnumber0.1
0 to 1000
Each live particle is a light this bright, times its size and opacity.
LightColorColorSequence[[0.0,1.0,1.0,1.0],[1.0,1.0,1.0,1.0]]The colour of the particles' light over each particle's life.
LightInheritColorbooleanfalseLights with each particle's own Color instead of LightColor.
LightRangenumber8
0 to 60

Appearance

ColorColorSequence[[0.0,1.0,1.0,1.0],[1.0,1.0,1.0,1.0]]Each particle's colour over its life.
Glownumber1
0 to 1000
LightEmissionnumber0
0 to 1
How particles blend: alpha blending at 0, additive at 1.
LightInfluencenumber1
0 to 1
OrientationstringFacingCamera
FacingCamera, FacingCameraWorldUp, VelocityParallel, VelocityPerpendicular
SizeNumberSequence[[0.0,1.0,0.0],[1.0,1.0,0.0]]The particles' size; its Envelope adds a random plus or minus per particle.
SquashNumberSequence[[0.0,0.0,0.0],[1.0,0.0,0.0]]
Textureany1, 1, 1The image each particle shows; with none, particles are soft round dots.
TransparencyNumberSequence[[0.0,0.0,0.0],[1.0,1.0,0.0]]The particles' transparency; its Envelope adds a random plus or minus per particle.
ZOffsetnumber0
-1000 to 1000
Slides each particle toward the camera (positive) or away, keeping its size on screen; it changes only what it draws in front of.

Emission

EmissionDirectionstringTop
Right, Top, Back, Left, Bottom, Front
Enabledbooleantrue
LifetimeNumberRange1, 2
PlaysInViewbooleanfalse
Ratenumber20
0 to 10000
How often particles are born: particle k is born at time k / Rate.
Seednumber1
any value
Each particle's lifetime, spawn point, direction, speed and spin are picked from the Seed.
Timenumber2
0 or more
Renders draw the particles as if playing this many seconds, so the same Time always looks the same.

Flipbook

FlipbookFramerateNumberRange1, 1Flipbook frames per second, picked per particle from the range.
FlipbookLayoutstringNone
None, Grid2x2, Grid4x4, Grid8x8, Custom
Cuts the Texture into a grid of cells, read left to right, top to bottom.
FlipbookModestringLoop
Loop, OneShot, PingPong, Random
How the cells play: OneShot spreads the frames over the particle's life, Random picks a new cell each frame step.
FlipbookSizeXnumber1
1 to 64
FlipbookSizeYnumber1
1 to 64
FlipbookStartRandombooleanfalseStarts each particle on a random cell.

Emitter Shape

ShapestringBox
Box, Sphere, Cylinder, Disc
ShapeInOutstringOutward
Outward, Inward, InAndOut
ShapePartialnumber1
0 to 1
ShapeStylestringVolume
Volume, Surface

Methods

NameArgumentsReturnsDescription
Emit(particleCount: number?)EmissionPointMakes an EmissionPoint at the emitter's current Time and returns it; count is 16 when left out.
From Instance 22