mousePos ?-s?
Return the mouse position as a list of two coordinates. If the
-s option is specified, the command returns the position in screen coordinates. Otherwise it returns the position in the coordinate system of the current pane of the currently active window if the mouse is over this pane, or raises an error if it is not (it is common practice to use this command inside a catch command).