Getting Object Position Relative to Screen Window in Runtime

Hi community ,   I have a screen window of a fixed size that will receive screens of various sizes during runtime. On these screens, I have multiple objects, and through a script, when I click on one of them, I want to get their top and left positions. I know that I can get the object's position relative to the screen using "item.Left" or "item.Top". However, for my script, I need the object position relative to the screen window and not the screen. Is there any way to achieve this?
0 answers