public static void Run(IntPtr windowHandle) { // Get the window's current bounds. Rectangle currentWindowBounds = BFS.Window.GetBounds(windowHandle); // Move mouse offset from Top Left. BFS.Input.SetMousePosition(currentWindowBounds.X + currentWindowBounds.Width/20, currentWindowBounds.Y + currentWindowBounds.Height / 20); }