Notch Notch Manual 0.9.23
 Light | Dark
DeleteNode()

DeleteNode()

Purpose #

Deletes the node. If the node is deleted, it returns a true, otherwise false.

Syntax #

bool DeleteNode();

returns true if successful or false if not.

Example #

function Update()
{ 
    layer = Document.GetLayer(0);
    node = layer.FindNode("myNode");
    node.DeleteNode();
}