Notch Notch Manual 0.9.23
 Light | Dark
SetName()

SetName()

Purpose #

Sets the name of the node.

Syntax #

void SetName(String node_name);

Parameters

node_nameThe name the node is to be set to.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Image 2D");
    node.SetName("My Node");
}