Get position of component within group

For what it is worth,
if you try iterating through .getComponents() on the root container it will return “PathBasedVisionShape(MyComponent)”

If you use .getBoundingRect() on the component it returns .x,.y,.w & .h
See this post on PathBasedVisionShape mouse click
PathBasedVisionShape