//WARNING: not just limited to your form, but to the whole sceen :) //Getting the mouse position and storing it as a point Point f = new Point((Size)MousePosition);