im trying to make a simple clicker in Windows Forms App but the problem is that I can't move cursor outside window from to make click. Here is part of the code im using to move cursor:
this.Cursor = new Cursor(Cursor.Current.Handle);
Cursor.Position = new Point(Cursor.Position.X - 500, Cursor.Position.Y - 500);
Cursor.Clip = new Rectangle(this.Location, this.Size);