.MOUSEON

Syntax

.MOUSEON

Explanation

.MOUSEON outputs TRUE if a mouse is present and FALSE if not.

See also BUTTON? and MOUSE.

Example

? .MOUSEON

Result: TRUE

?