ReferenceScript nodesRendering
Set Layer Visibility
Shows or hides a layer, at once.
ƒSet Layer VisibilityTarget is Layer
TargetLayer
New Visibility
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Targetlayer | layer | – | – |
New Visibilityvisible | bool | true | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.show("", true);In a graph
◆On Scene Start
ƒSet Layer VisibilityTarget is Layer
TargetLayer
New Visibility
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.