I’m trying to retrieve data which will tell me the position of an object after i have moved it on the screen. I have managed to get specific pixel coordinates however I can’t seem to figure how i can retrieve the value of the coordinates in a resolution independent way.
To be clear I would like to print the coordinates which will tell me the values in a way that is shown below instead of the regular pixel specific way
image.x = \_W \* 0.68;
image.y =\_H \* 0.4
Instead of the typical
image.x = 219
image.y = 195
[import]uid: 24981 topic_id: 10866 reply_id: 310866[/import]