We use cookies on this site to enhance your user experience
Collapse Sidebar




The LocekdToPart property determines if particles will “stick” to the emission source (the Attachment or BasePart to which the ParticleEmitter is parented).

Below is an animation of two Parts being moved simultaneously in Studio. Inside each is a default ParticleEmitter; the background/left emitter has LockedToPart enabled so the column of particles moves as the part is moved. Contrast with the foreground/right emitter particles which stay in their world position.
Moving two parts with default ParticleEmitters, the background emitter has LockedToPart enabled

Also consider using the ParticleEmitter/VelocityInheritance property set to 1, which may be more appropriate for some effects.

Code Samples

Creating a Particle Emitter from Scratch

This rather lengthy code sample shows how every property of a ParticleEmitter can be set, including DataType/NumberRange, DataType/NumberSequence and DataType/ColorSequence properties. Below is how the ParticleEmitter should after every property is set. Try playing around with the different properties to customize how the effect looks!

The final product