Slideshow
A folder's pictures, one after another.
- Kind
- Layer · Backgrounds
- Script name
slideshow- Cost to draw
- Very heavy

Slideshow
| Setting | Kind | Starts at | Range and notes |
|---|---|---|---|
Picturesource | image file | none | Every picture in its folder plays, this one first |
Or a folderfolder | words | none | Inside the scene's folder, or a full path |
Each picture forinterval | number | 12 s | 2 to 600 s |
Changetransition | choice | Pan and zoom | Pan and zoom, Fade, Slide, Zoom through |
Change takesduration | number | 1.6 s | 0.2 to 5 s |
Pan and zoom byzoom | number | 12% | 0% to 40% |
Fitfit | choice | Fill | Fill, Whole |
Shuffleshuffle | on or off | off | – |
From a script
Every setting above can be changed by the scene's logic, by its key. Say the layer is called Slideshow:
scene.set("Slideshow", "interval", 600);scene.animate("Slideshow", "opacity", 0.5, 2);import { scene } from "motion";scene.set("Slideshow", "interval", 600);scene.animate("Slideshow", "opacity", 0.5, 2);◆On Scene Start
ƒSet Layer SettingTarget is Layer
TargetSlideshow
Parameter Nameinterval
Parameter Value600
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.