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();
}