Motes
Specks of light drifting up in three depths.

Motes
| Setting | Kind | Starts at | Range and notes |
|---|---|---|---|
First colourcolour | colour | #7ce695 | – |
Second colourcolour2 | colour | #caecff | – |
Amountamount | number | 45% | 5% to 100% |
Sizesize | number | 1.4× | 0.4 to 4× |
Riserise | number | 1× | -3 to 3×Below zero they fall |
From a script
Every setting above can be changed by the scene's logic, by its key. Say the layer is called Motes:
scene.set("Motes", "colour", "#ff8a5c");scene.animate("Motes", "opacity", 0.5, 2);import { scene } from "motion";scene.set("Motes", "colour", "#ff8a5c");scene.animate("Motes", "opacity", 0.5, 2);◆On Scene Start
ƒSet Layer SettingTarget is Layer
TargetMotes
Parameter Namecolour
Parameter Value
Used in
The example scenes with a Motes 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.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.
First Light
Kelp Forest
Molten
Nebula Drift
Pulse
Rain Harbour
Two Galaxies
Valley Hours
Vent Garden