Real Mouse Coordinates
Blitz3D Forums/Blitz3D Beginners Area/Real Mouse Coordinates
| ||
Hello, I wanted to make a sort of autoclicker/ghost mouse program, but Blitz bases its coordinates off of the window instead of the whole screen. I was wondering how do you get the "real" mouse coordinates? |
| ||
You should use the GetCursorPos api. Have a look at Sswift's code here: http://www.blitzbasic.com/codearcs/codearcs.php?code=1290 The MouseScreenX and MouseScreenY functions return the global mouse position. |
| ||
thanks! |