MOUSEPOS

Synopsis
MOUSEPOS
Description

Output the position of the mouse at the time the last mouse event was generated. The position is given as a list with two items: [X, Y]. The mouse must first be turned on by calling MOUSEON.

Example

PENUP
MOUSEON [SETPOS MOUSEPOS PENDOWN] [PENUP] [] [] [SETPOS MOUSEPOS]

Move the mouse around. Hold down the left button to draw.

MOUSEOFF


SourceForge.net Logo