This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getmousebuttondown [2021/04/23 23:01] – clarity durikkan | 4rpl:commands:getmousebuttondown [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== GetMouseButtonDown ====== | ====== GetMouseButtonDown ====== | ||
- | GetMouseButtonDown(< | + | GetMouseButtonDown(< |
===== Description ===== | ===== Description ===== | ||
Line 9: | Line 9: | ||
Note: This only return true once until the mouse button is released and pressed again. | Note: This only return true once until the mouse button is released and pressed again. | ||
The button argument specifies which mouse button to check. A value of 0 means the left button, 1 the right button, and 2 the middle button. | The button argument specifies which mouse button to check. A value of 0 means the left button, 1 the right button, and 2 the middle button. | ||
- | The second argument indicates whether to ignore the events when over the UI. | + | The second argument indicates whether to ignore the events when the cursor is over the UI. |
===== Examples ===== | ===== Examples ===== |