← All posts

Sparkles, smoke and fire: particles in Second Life

Particles turn a plain prim into a campfire, a fountain or a trail of glitter. Here's what they can do, what to ask for, and how to keep them from slowing anyone down.

Alexander Pixels

September 3, 2026 · 3 min read

A fireplace with no flames. A wand that does nothing when you wave it. A fountain that's just a bowl. Particles are what fill those in: small pictures a script sends out from an object, many at a time, drifting, falling, shining and fading.

They're some of the most fun things to script in Second Life, and some of the easiest to get wrong.

What particles can do

A particle script controls a stream of tiny flat pictures. For each stream it decides:

  • What each particle looks like: a texture, a color, and how big it starts and ends
  • How it moves: which way it sets off, how fast, and whether it falls, drifts with the wind or bounces
  • How long it lasts, and whether it fades out as it goes
  • Where it comes from: a point, a flat fan, a cone, or a burst in every direction

Mix those and you get most effects you've seen in-world. Slow, gray and rising is smoke. Fast, orange and short-lived is fire. Small, bright and falling is glitter. A ring that grows as it fades is a magic circle.

Particles can also head for something. A stream that flows from one object to another, like water into a basin, or sparks that chase the avatar who touched a prop.

Textures that really exist

Every particle needs a texture, and in a script a texture is a long ID. A made-up ID saves without an error, then shows nothing useful in-world.

So we keep our own set of particle textures in Second Life: a soft glow, a sparkle, a firework spark, a star, a heart, a snowflake, a raindrop, a bubble, smoke, mist, a flame, a ring, a rose petal, a leaf and music notes. They're white, so a script can color them anything. When you ask for an effect, the script uses one of those, or a texture you give it.

A few things worth knowing

Particles stay on after the script is gone. They belong to the prim, not the script. Delete a particle script from an object and the effect keeps running. To stop it, the object needs a script that turns particles off. If you ask for particles, ask for a way to switch them off too, like a touch to toggle them.

Not everyone sees the same amount. Each viewer has its own setting for how many particles to draw. Someone with it turned down sees a thinner effect than you do, so make sure yours still looks good when it's light.

More isn't better. A thousand particles a second looks like noise, and it makes slower computers stutter near your build. A few dozen well-chosen ones usually look better.

Full bright is a choice. Particles can shine at full brightness whatever the light around them. That suits fire, magic and neon. Smoke and mist look more natural without it.

How to ask for an effect

Describe what you'd see, not how it works. "Soft white smoke rising slowly from the top of a chimney, drifting with the wind and fading out after a few seconds" gets you closer than "a smoke particle script". Mention the color, the speed and roughly how much.

Then try it in-world and adjust: "slower", "more spread out", "only when someone sits on it". Particles are easier to tune by eye than to get perfect from a description, and every change is a new version you can compare with the last.

Try it on something small

Describe one object in your own words, and paste the script in-world.

Start building