insert(...)

Studio

insert(...)

insert(indx: number, node: Node): this;

Inserts a node into the group at the specified index.

Parameters

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

Returns

this

Example

mygroup.insert(2, myobject);
Open in new window