Notch Notch
Manual 2026.1 / 1.0 Manual 0.9.23
 Light | Dark
SetVisible()

SetVisible()

Updated: 3 Nov 2025

Purpose #

Sets whether the layer is visible.

This only works when your project is set to Isolated. See Project Settings->General->Composition Mode.

Syntax #

void SetVisible(Bool visible);

Parameters

visibleThe visible state of the layer.

Example #

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