This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getmousebutton [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getmousebutton [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== GetMouseButton ====== | ====== GetMouseButton ====== | ||
- | GetMouseButton(< | + | GetMouseButton(< |
===== Description ===== | ===== Description ===== | ||
- | Returns a boolean indicating if the specified mouse button is pressed. | + | Returns a boolean indicating if the specified mouse button is pressed. This returns true on any frame the mouse button is pressed. The button argument specifies which mouse button |
- | Note: This returns true for as long as the mouse button is pressed. | + | |
- | The button argument specifies which mouse button | + | |
- | The second argument indicates whether to ignore | + | |
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> |