MouseX
MouseY

Whenever a mouse event is trapped, Just BASIC places the x and y position of the mouse in the variables MouseX, and MouseY. The values represent the number of pixels in x and y the mouse was from the upper left corner of the graphic window display pane.
