indexInParent property

int indexInParent
read / write

The index of this node within the parent's list of semantic children.

This includes all semantic nodes, not just those currently in the child list. For example, if a scrollable has five children but the first two are not visible (and thus not included in the list of children), then the index of the last node will still be 4.


int indexInParent