How to get the position(on X and Y axis) of a Fab on the screen

Hi guys, Pls am working on a project whereby by i need to get the position of a object on the screen

Not sure if paint application with ruler would helped?