ReferenceScripting APIMotionScenevideo
MotionScene.video
methodA Video layer's film: play, hold, seek and speed it.
| Name | video |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.video(…) |
| As a node | Play Video (logic graph) |
| Since | 0.4 |
Syntax
video(layer: string): MotionVideoParameters
| Name | Type | Description |
|---|---|---|
layer | string | The layer's name or id |
Returns
MotionVideo: its film.
Example
const sky = scene.video("Timelapse");scene.every(60, () => sky.seek(scene.clock.day * sky.duration));See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.