.. _x-ptr-pct: X\_PTR% ======= +----------+-------------------------------------------------------------------+ | 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. **CROSS-REFERENCE** See :ref:`ptr-limits` and :ref:`ptr-on`. :ref:`y-ptr-pct` reads the y co-ordinate.