Notch Notch Manual 0.9.23
 Light | Dark
GetNumParents()

GetNumParents()

Purpose #

Returns the number of parent nodes.

Syntax #

int GetNumParents();
returns an integer of the number of parent nodes.

Example #

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