Skip to main content

Mouseb

Mouseb (Function)

Format

mouseb
mouseb ( )

returns integer_expression

Description

Returns the buttons that currently pressed on the mouse (if over the graphic output). Returns 0 if no click has been recorded.

Return Values
ConstantValue
MOUSEBUTTON_NONE0
MOUSEBUTTON_LEFT1
MOUSEBUTTON_RIGHT2
MOUSEBUTTON_CENTER4
MOUSEBUTTON_DOUBLECLICK32

See Also

Clickb, Clickclear, Clickx, Clicky, Mouseb, Mousex, Mousey,

History

0.9.4dNew To Version
1.99.99.58Added Named Constants