Skip to main content

Mousex

Mousex (Function)​

Format​

mousex
mousex ( )

returns integer_expression

Description​

Returns the current or last mouse x location of the mouse pointer over the graphic output.

The position is measured in pixels unless a Window has been set, in which case it is in the units that window defines. -1 is returned when the pointer is not over the graphics output, whatever window is in force.

See Also​

Clickb, Clickclear, Clickx, Clicky, Mouseb, Mousex, Mousey, Window

History​

0.9.4dNew To Version