Syntax X_PTR%
Location KMOUSE, MOUSE (DIY Toolkit - Vol I), Amiga QDOS v3.20+

This function will return the x co-ordinate of the pointer which is controlled by the mouse. The value is given in absolute pixel co-ordinates, with the point 0,0 being the top left hand corner of the screen.


See PTR_LIMITS and PTR_ON. Y_PTR% reads the y co-ordinate.