Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
SetName()

SetName()

Updated: 8 Jan 2024

Purpose #

Sets the name of the layer.

Syntax #

void SetName(String layer_name);

Parameters

layer_nameThe name the layer is to be set to.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    layer.SetName("My New Layer Name");
}