Question by
TheRealfredfred · Oct 25, 2016 at 11:08 AM ·
inputmousemousepositionmouseclickmouse position
How to control global mouse
I'm trying to make a basic script that controls the global mouse position using c#.
the basic idea is: new mouse position = current x, current y + 1
so how can I easily get the global mouse position and then change it?
Comment
You can't implicitly change the global mouse position, as it isn't defined by the application. You could create your own position variable, and you can access the screen-space mouse position using Input.mousePosition.