GetMousePos Returns an array containing the position of the mouse cursor. my ($x, $y) = GetMousePos();