Converting x y coordinates to stage coordinates using globalToLocal

Hi.

I was wondering if someone could show me an example of the MC.globalToLocal() function. I have a pointer that aims at a moving clip… however, I need to make it so that the pointer follows the moving clip, not just the moving clip in relation to its parent clip…

That was really convoluted… I have a zip file attached, which is way more helpful.

in the file, right now, the pointer targets _root.s2.yo but if I move the _root.s2 clip, then the pointer still follows where the yo clip would be, but it’s offset…

any help would be greatly appreciated.