function:MOUSEBUTTON
Table of Contents
MOUSEBUTTON Function
The MOUSEBUTTON() function returns whether the Mac's mouse button is pressed. It returns 1 if the button is pressed or 0 otherwise. It takes an optional parameter indicating the desired mouse button.
MOUSEBUTTON() === MOUSEBUTTON(1) === whether the left mouse button is pressed MOUSEBUTTON(2) === whether the right mouse button is pressed MOUSEBUTTON(3) === whether the middle mouse button is pressed
4, 5 and 6 may also be valid buttons depending on your mouse.
See Also
Actions
- Manipulate a Window action
- Move or Click Mouse action
Functions
- MENUBARHEIGHT function
- MOUSEX function
- MOUSEY function
- SCREEN function
- SCREENVISIBLE function
- SCREENINDEX function
- WINDOW function
- WINDOWCOUNT function
Forum
function/MOUSEBUTTON.txt · Last modified: by peternlewis
