ReferenceScript nodesRendering
Set Layer Setting
Changes a layer's setting at once: opacity, colour1, speed….
ƒSet Layer SettingTarget is Layer
TargetLayer
Parameter Nameopacity
Parameter Value1
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Targetlayer | layer | – | – |
Parameter Namesetting | text | "opacity" | – |
Parameter Valuevalue | any | 1 | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.set("", "opacity", 1);In a graph
◆On Scene Start
ƒSet Layer SettingTarget is Layer
TargetLayer
Parameter Nameopacity
Parameter Value1
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.