ModelData:getNodeParent
EditGiven a child node, this function returns the index of its parent.
parent = ModelData:getNodeParent(node)Arguments
| Name | Type | Description |
| node | string | number | The name or index of the child node. |
Returns
| Name | Type | Description |
| parent | number | The index of the parent node. |