Applies to

All

Format

*x*,*y*

Read-only.

Reads the position of the mouse cursor relative to the upper left corner of this control, not including the control’s borders.

mouse-pos is an alias for inner-mouse-pos.

This parameter is “unlisted” and must be explicitly queried. It won’t appear when sending * as the parameter in winget().

See also

pos parameter