ReferenceScripting APIMotionLayerInfo
MotionLayerInfo
interfaceA layer as scene.layers lists it.
| Name | MotionLayerInfo |
|---|---|
| Kind | interface |
| Script reaches it as | MotionScene.layersNamed() · MotionScene.layerAt() · MotionScene.layers |
| Since | 0.3 |
Syntax
interface MotionLayerInfo { … }Properties
| Name | Type | Description |
|---|---|---|
idproperty | readonly string | The layer's id: its own, never shared ("" when there's no such layer). |
nameproperty | readonly string | The layer's name, as Studio shows it (a name can be shared). |
typeproperty | readonly string | The layer's kind: "gradient", "text", "particles"... |
folderproperty | readonly string | The id of the folder it's in, "" for none. |
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.