mouse | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the state of a mouse button. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Constant: left Message: mouseDoubleUp, mouseStillDown Function: mouseClick Glossary: mouse button, return | ||||||
Description | Use the mouse function to check whether the user is pressing a mouse button. If you don't specify a buttonNumber, the mouse function returns the state of mouse button 1. | ||||||
Tags | ui |