Notch Notch Manual 0.9.23
 Light | Dark
SetVisible()

SetVisible()

Purpose #

Sets whether the layer is visible.

This only works when your project is NOT set to use Layers as Separate Effects: Project Settings->General->Layers As Separate Effects

Syntax #

void SetVisible(Bool visible);

Parameters

visibleThe visible state of the layer.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    layer.SetVisible(true);
}