How to get X, Y touch coordinates from screen

4 posts were split to a new topic: How to close popup after clicking outside of window?