Purpose

Retrieves the visible state of the layer.

Syntax

bool GetVisible();

Example

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