Water surface
Water that ripples under the pointer and the rain.
- Kind
- Layer · Elements
- Script name
water- Cost to draw
- Very heavy
- Reacts to
- sound and the pointer

Water
| Setting | Kind | Starts at | Range and notes |
|---|---|---|---|
Under the watersource | image file | none | Without one, light plays on the bottom |
Water colourcolour | colour | #0b2a3a | – |
Lightcolour2 | colour | #caecff | – |
Colourdepth | number | 55% | 0% to 100%How much the water's colour covers |
Bendingrefraction | number | 50% | 0% to 100% |
Shinehighlights | number | 60% | 0% to 100% |
Light on the bottomcaustics | number | 50% | 0% to 100% |
Raindropsdrops | number | 15% | 0% to 100% |
Calmcalm | number | 50% | 0% to 100%How quickly the ripples die away |
Ripple sizeswell | number | 1× | 0.3 to 3× |
The pointer stirs itstir | on or off | on | – |
Clicks splashsplash | on or off | on | – |
Drops on the beatsound | number | 0% | 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 Water surface:
scene.set("Water surface", "colour", "#ff8a5c");scene.animate("Water surface", "opacity", 0.5, 2);import { scene } from "motion";scene.set("Water surface", "colour", "#ff8a5c");scene.animate("Water surface", "opacity", 0.5, 2);◆On Scene Start
ƒSet Layer SettingTarget is Layer
TargetWater surface
Parameter Namecolour
Parameter Value
Used in
The example scenes with a Water surface 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.
Glow Tide