Hi, how can I find the cursors current position?
I tried to use...
mouse(x, y, 0, 0, true);
... for a mouse click, but it would move the mouse all the way to coord 0,0 instead of clicking in the current position.
Printable View
Hi, how can I find the cursors current position?
I tried to use...
mouse(x, y, 0, 0, true);
... for a mouse click, but it would move the mouse all the way to coord 0,0 instead of clicking in the current position.
getmousepos(x,y) will return the location to x,y
Thanks, Boreas :)!
Dude no offense, but your a SRL member and you didn't know that?
Sorry, I just got back into ScuneRape and coding with Pascal. Tons of the functions have changed since I last was here. I'm just trying to rub some rust off. That was also probably my only real nooby question I will be asking ;).
hlstriker dont be afraid to ask a "nooby" question. Its the only way you can learn