I’m trying to use a script to get the positions of components within a group, but if I run:
window.getRootContainer().getComponent("Group 1").getComponent("MyComponent").getLocation()
It tells me that its at (0,0), regardless of where the component is. Running the same code on a component that isn’t in a group:
window.getRootContainer().getComponent("MyOtherComponent").getLocation()
yields the correct set of coordinates. Is there a different way to go about getting coordinates of grouped components, or am I just missing something in the script I currently have?