PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

Color

Smoke

Color3

The Color property determines the color of all the particles emit by a Smoke object (both existing and future particles). It behaves similarly to ParticleEmitter/Color, except that it is only one color and not a DataType/ColorSequence. A color of white with some Smoke/Opacity makes for a nice fog effect, and a very opaque black color can compliment a Fire object nicely.

Two Smoke objects with different colors

In the screenshot below, a Fire object within a torch model is complimented by a Smoke object above it with Smoke/RiseVelocity set to 5 and Color set to black.
A Smoke object complimenting a Fire object on a torch


Code Samples


Add Smoke to All Fire

This code sample adds a Smoke object to every Fire object in the Workspace. It does this by using a recursive search.