...go ahead and read the manual, we won't tell anyone.

Help Topics > All Functions > Mouse
Tags: mouse

Mouse returns "up" if the mouse button is not pressed, and "down" if the mouse button is pressed.

Usage:

the mouse
mouse()

Example:

if the mouse is up put "Press the mouse button" into msg