mouse_pointer_location it will give X,Y co-ordinates of position of mouse. Give creadits if you use this