Purpose
Retrieves the visible state of the layer.
Syntax
bool GetVisible();
Example
function Update() {
layer = Document.FindLayer("My Layer");
visible = layer.GetVisible();
}
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
bool GetVisible();
function Update() {
layer = Document.FindLayer("My Layer");
visible = layer.GetVisible();
}