C
C#3y ago
TOLOXI

How do I move my mouse curser on screen?

i was wondering if its possible to move the curse on the screen using c#
4 Replies
Jester
Jester3y ago
yes
[DllImport("user32")]
public extern int SetCursorPos(int x, int y);
[DllImport("user32")]
public extern int SetCursorPos(int x, int y);
use this and then you can call this method
TOLOXI
TOLOXIOP3y ago
so i pasted it in my code
TOLOXI
TOLOXIOP3y ago
TOLOXI
TOLOXIOP3y ago
how do i add the coordinates
Want results from more Discord servers?
Add your server