Skip to content

ColorOverLifetime API

Syntax Sculptor edited this page Oct 17, 2026 · 2 revisions

ColorOverLifetime

A module belonging to a ParticleEmitter, which handles how particles change color and transparency throughout their lifetime.

The module can be accessed through ParticleEmitter.ColorOverLifetime.

Properties

Property Type Default Description
Enabled boolean false Determines whether the ColorOverLifetime module is enabled.
Gradient PaletteGradient White gradient The gradient used to determine the particle's color throughout its lifetime when Mode is set to "Gradient".
GradientMax PaletteGradient White gradient The maximum gradient used when Mode is set to "TwoGradients".
GradientMin PaletteGradient White gradient The minimum gradient used when Mode is set to "TwoGradients".
Mode "Gradient" | "TwoGradients" "Gradient" Determines whether particles use a single gradient or a randomized gradient between two gradients.

Note

The color and transparency determined by the ColorOverLifetime module are multiplied by the particle's StartColor. To prevent StartColor from affecting the resulting gradient, set it to KColor.White.

Clone this wiki locally