MOUSEX function

Purpose

Return the current column position (x coordinate) of the mouse cursor, as of the most recent mouse event retrieved by INKEY$ or WAITKEY$.

Syntax

x& = MOUSEX

Remarks

The value returned is in the range of 1 to the maximum number of screen columns as returned by SCREENX.

See also

INKEY$, INSHIFT, MOUSE, MOUSESTAT, MOUSEY, WAITKEY$, WAITSTAT, SCREENX, SCREENY