- Oct 17, 2012 · When you use the Mouse.GetPosition method or MouseButtonEventsArgs.GetPosition method to get the mouse position, you specify that you want the mouse position relative to a particular element. If you pass a null value into the GetPosition method, you indicate that you want the mouse position relative to the containing window.
- If you mean moving by a set number of pixels from where the mouse currently is instead of moving to one specific pixel, use Mousemove, x, y, z, R Where x and y are the number of pixels you want to move by, Z is the speed (usually 0) and R tells the script that the movement is relative to current mouse position.
- Jun 06, 2018 · I've recently coded a bot for a 2d game. This script will read the games memory and get the players position, after this it ill simply do actions such as this send a key press for a duration then stop. it'll then read the characters position, if it doesn't fit where it should be the bot will...