Motion
Get Motion

ReferenceLayersOther

Rain

Slanting rain, with mist if you like.

Kind
Layer · Other
Script name
rain
Cost to draw
Heavy
Blend
Light costs no extra pass
The Rain layer with its default settings
The Rain layer with its default settings.

Rain

SettingKindStarts atRange and notes
Colourcolourcolour#caecff–
Amountamountnumber40%2% to 100%
Speedspeednumber1×0.2 to 3×
Slantanglenumber8°-45 to 45°
Streak lengthlengthnumber1×0.2 to 3×
Thicknessthicknessnumber1×0.3 to 3×
Mistmistnumber20%0% to 100%

From a script

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

scene.set("Rain", "colour", "#ff8a5c");scene.animate("Rain", "opacity", 0.5, 2);

Used in

The example scenes with a Rain 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.