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


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
| Name | Type | Default | Description |
|---|---|---|---|
| Acceleration | Vector3 | 0, 0, 0 | |
| Drag | number | 0 0 to 100 | |
| LockedToPart | boolean | false | Like Roblox's: off, each particle stays where it was born as the part moves; on, everything rides the part. |
| RotSpeed | NumberRange | 0, 0 | |
| Rotation | NumberRange | 0, 0 | |
| Speed | NumberRange | 5, 5 | |
| SpreadAngle | Vector2 | 15, 15 | How far particles spread from the face they leave by, which under a Part is its +Y unless EmissionDirection says otherwise. |
| VelocityInheritance | number | 0 -1000 to 1000 |
Light
| Brightness | number | 0.1 0 to 1000 | Each live particle is a light this bright, times its size and opacity. |
| LightColor | ColorSequence | [[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. |
| LightInheritColor | boolean | false | Lights with each particle's own Color instead of LightColor. |
| LightRange | number | 8 0 to 60 |
Appearance
| Color | ColorSequence | [[0.0,1.0,1.0,1.0],[1.0,1.0,1.0,1.0]] | Each particle's colour over its life. |
| Glow | number | 1 0 to 1000 | |
| LightEmission | number | 0 0 to 1 | How particles blend: alpha blending at 0, additive at 1. |
| LightInfluence | number | 1 0 to 1 | |
| Orientation | string | FacingCamera FacingCamera, FacingCameraWorldUp, VelocityParallel, VelocityPerpendicular | |
| Size | NumberSequence | [[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. |
| Squash | NumberSequence | [[0.0,0.0,0.0],[1.0,0.0,0.0]] | |
| Texture | any | 1, 1, 1 | The image each particle shows; with none, particles are soft round dots. |
| Transparency | NumberSequence | [[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. |
| ZOffset | number | 0 -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
| EmissionDirection | string | Top Right, Top, Back, Left, Bottom, Front | |
| Enabled | boolean | true | |
| Lifetime | NumberRange | 1, 2 | |
| PlaysInView | boolean | false | |
| Rate | number | 20 0 to 10000 | How often particles are born: particle k is born at time k / Rate. |
| Seed | number | 1 any value | Each particle's lifetime, spawn point, direction, speed and spin are picked from the Seed. |
| Time | number | 2 0 or more | Renders draw the particles as if playing this many seconds, so the same Time always looks the same. |
Flipbook
| FlipbookFramerate | NumberRange | 1, 1 | Flipbook frames per second, picked per particle from the range. |
| FlipbookLayout | string | None None, Grid2x2, Grid4x4, Grid8x8, Custom | Cuts the Texture into a grid of cells, read left to right, top to bottom. |
| FlipbookMode | string | Loop 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. |
| FlipbookSizeX | number | 1 1 to 64 | |
| FlipbookSizeY | number | 1 1 to 64 | |
| FlipbookStartRandom | boolean | false | Starts each particle on a random cell. |
Emitter Shape
| Shape | string | Box Box, Sphere, Cylinder, Disc |
| ShapeInOut | string | Outward Outward, Inward, InAndOut |
| ShapePartial | number | 1 0 to 1 |
| ShapeStyle | string | Volume Volume, Surface |
Methods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| Emit | (particleCount: number?) | EmissionPoint | Makes an EmissionPoint at the emitter's current Time and returns it; count is 16 when left out. |
