PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

Size

Fire

float

This property determines the size of the flame particles. It must be in the range of [2, 30]. Unlike ParticleEmitter/Size, the actual size of the flames will not match 1-to-1 with the equivalent size in studs; it is somewhat smaller.

Two torches - the left has Size = 5 and the right has Size = 10

To make your environment more cohesive, try adding a PointLight as a sibling to the Fire object. Set the PointLight/Brightness and PointLight/Range proportional to this property so that larger flames produce more light.


Code Samples


Lighting Torches

This code sample adds Fire to all BasePart in the Workspace named “Torch”.