Notch Notch Manual 0.9.23
 Light | Dark
GetNumChildren()

GetNumChildren()

Purpose #

Returns the number of child nodes.

Syntax #

int GetNumChildren();
returns an integer of the number of child nodes.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Frame Buffer");
    n = node.GetNumChildren();
}