Function Node.getPositionInParent

Returns the node's order in the scene tree branch. For example, if called on the first child node the position is 0.

long getPositionInParent() nothrow @nogc const;