Notch Notch Manual 0.9.23
 Light | Dark
AddChild()

AddChild()

Purpose #

Adds a node as a child of another node.

Syntax #

void AddChild(object node);

Parameters

nodeThe node to add as a child.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Shape 3D");
    defomer = layer.FindNode("Taper Deformer");
    node.AddChild(deformer);
}