Mouse coordinate X and Y


kanber

Recommended Posts

Use the OnMouseMove system event. Its in the docs towards the end of the Sequences chapter I believe. This event passes in the mouse coords as parameters which you could then set to global variables. Just make sure not to do much other than set global variables in this event as it triggers constantly. Doing anything more would cause the program to essentially hang.

Link to comment
Share on other sites

hi,

I will try to explain what I want

global X

global Y

X=GetmousePositionX()

Y=GetmousePositionY()

and I will use X and Y varibales in my program. I know OnMouseMove function. but I want to function which will give me coords

best regards,

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.