Model:getNodePosition
EditReturns the position of a node.
x, y, z = Model:getNodePosition(node, space)Arguments
| Name | Type | Default | Description |
| node | string | number | The name or index of a node. | |
| space | OriginType | 'root' | Whether the position should be returned relative to the root node or the node's parent. |
Returns
| Name | Type | Description |
| x | number | The x coordinate. |
| y | number | The y coordinate. |
| z | number | The z coordinate. |