en:mouseb

Mouseb (Function)

Format

mouseb
mouseb ( )

returns positive_integer_value

Description

Returns the buttons that currently pressed on the mouse (if over the graphic output). Returns 0 if no click has been recorded. If multiple buttons have been pressed the value is the sum of the values for all pressed buttons.

Return Values
ValueMouse Button Pressed
0None
1Left
2Right
4Center

See Also

History

0.9.4dNew To Version
en/mouseb.txt · Last modified: 2014/02/09 20:38 by admin