local x,y = getmouse()
Returns the screen coordinates of the mouse cursor.
Getkey
UO.CursorX
UO.CursorY