Motion
Get Motion

ReferenceLayersElements

Fog and clouds

Rolling fog, drifting clouds or thin mist.

Kind
Layer · Elements
Script name
fog
Cost to draw
Heavy
The Fog and clouds layer with its default settings
The Fog and clouds layer with its default settings.

Fog

SettingKindStarts atRange and notes
StylestylechoiceLow fogLow fog, Clouds, Mist
Colourcolourcolour#caecff–
Shadecolour2colour#26282b–
Thicknessdensitynumber55%0% to 100%
How highheightnumber50%10% to 100%
Sizesizenumber1×0.3 to 4×
Windspeednumber0.5×-3 to 3×Below zero it blows the other way
Light fromlightnumber60°0 to 360°Which side the clouds are lit from
Brightnessbrightnessnumber80%0% to 200%
Detaildetailnumber52 to 7More is finer, and heavier

From a script

Every setting above can be changed by the scene's logic, by its key. Say the layer is called Fog and clouds:

scene.set("Fog and clouds", "colour", "#ff8a5c");scene.animate("Fog and clouds", "opacity", 0.5, 2);

Used in

The example scenes with a Fog and clouds layer in them. Each picture is the whole scene, not the layer alone: open one to see what the layer does in it.

What every layer has

Besides its own settings, every layer has its opacity, blend, placement, quick effects and an effects stack. They're listed once, on the layers page.