ReferenceScripting APIMotionSceneshow
MotionScene.show
methodShows or hides a layer.
| Name | show |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.show(…) |
| As a node | Set Layer Visibility (logic graph) |
| Since | 0.3 |
Syntax
show( layer: string, visible: boolean): voidParameters
| Name | Type | Description |
|---|---|---|
layer | string | The layer's name or id, or a folder's |
visible | boolean | True to show it, false to hide it |
Returns
Nothing.
Example
scene.show("Rain", false);Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.