Notch Notch Manual 0.9.23
 Light | Dark
GetVisible()

GetVisible()

Purpose #

Retrieves the visible state of the layer.

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

Syntax #

bool GetVisible();

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    visible = layer.GetVisible();
}