MoveToParentItem moves to the parent of the item pointed to by the supplied reference pointer.
ptr:MoveToParentItem(ptrRef)
The pointer can be used as its own reference pointer.
pi:MoveToParentItem(pi) -- moves pi to point to its own parent pi:MoveToParentItem(pi2) -- moves pi to point to pi2's parent