✅ Solved: How to translate local to world coordinates when working with groups.
Have a fairly basic scene where I have one shape layer chasing another (target). In my initial setup, this target is snapped to the cursor when you enter the shape area and snaps to the cursor as you move around the screen. Initially that target shape is on the root level, and so the coordinates are all relative to the artboard. Everything works correctly.
In order to make the “hit area” of my target much more robust, I have an oversized shape with no fill on the artboard now. I’ve grouped those together into an object called “Target Group”. Now of course the initial shape is relative to the group/local origin and not the artboard. Unsurprisingly it broke.
I did find a workaround for this - essentially using the groups coordinates vs the target. BUT, I was wondering if there is a way, if it was ever necessary in the future, to convert the inputX/Y coordinates from local to global?