Depth parallax
A picture with a depth map, moving in 3D.
- Kind
- Layer · Backgrounds
- Script name
depth- Cost to draw
- Heavy
- Reacts to
- the pointer

Depth
| Setting | Kind | Starts at | Range and notes |
|---|---|---|---|
Picturesource | image file | none | – |
Depth mapdepthMap | image file | none | White is near, black far |
Black is nearinvert | on or off | off | – |
Movesmotion | choice | Round | Round, Side to side, In and out, Not by itself |
Follows the pointerpointer | on or off | on | – |
Depthstrength | number | 40% | 0% to 100% |
Still at depthfocus | number | 50% | 0% to 100%What stays put while the rest moves |
Speedspeed | number | 0.5× | 0 to 3× |
Fitfit | choice | Fill | Fill, Whole |
From a script
Every setting above can be changed by the scene's logic, by its key. Say the layer is called Depth parallax:
scene.set("Depth parallax", "strength", 1);scene.animate("Depth parallax", "opacity", 0.5, 2);import { scene } from "motion";scene.set("Depth parallax", "strength", 1);scene.animate("Depth parallax", "opacity", 0.5, 2);◆On Scene Start
ƒSet Layer SettingTarget is Layer
TargetDepth parallax
Parameter Namestrength
Parameter Value1
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.