It would be nice if mouse x, y was returned at the start of mouse movement - not after the mouse stops moving.
some example code which clears the mouse buffer but wastes time in doing so.
****
DO WHILE _MOUSEINPUT: LOOP ' Clear mouse buffer.
DO
x0 = _MOUSEX
y0 = _MOUSEY
loop