Studio

child(...)

child(indx : number) : Node;

Gets the child node at the specified index.

Parameters

Parameter Type Description
indx number The index of the node in the children of this group to return. The first child is at index 0.

Returns

The node at the specified index.

Example

var myobject = mygroup.child(2);
// myobject is the third child node in mygroup
Open in new window