Absolute Position of Control

Hello,

I’m having a lot of trouble with the UI, and in particular with a problem that seems simple enough: retrieving the absolute position of a control. I’ve searched the documentation, but ultimately, I can’t seem to get an absolute position that always works, especially since my controls can be in containers with a scale other than 1:1. Is there a parameter that corresponds to what I’m looking for? Or could you suggest a function that would work?
The goal is simply to retrieve the vector between my pointer and the origin (top left) of the control.

Thanks in advance.

transformedMeasure()