Motion
Get Motion

ReferenceScripting APIMotionSceneshow

MotionScene.show

method

Shows or hides a layer.

Nameshow
Kindmethod of MotionScene
Called asscene.show(…)
As a nodeSet Layer Visibility (logic graph)
Since0.3

Syntax

show(    layer: string,    visible: boolean): void

Parameters

NameTypeDescription
layerstringThe layer's name or id, or a folder's
visiblebooleanTrue to show it, false to hide it

Returns

Nothing.

Example

scene.show("Rain", false);