Skip to content

child(...)

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

child(indx : number) : Node;

Gets the child node at the specified index.

ParameterTypeDescription
indxnumberThe index of the node in the children of this group to return. The first child is at index 0.

The node at the specified index.

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