This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getkey [2019/07/26 14:08] – added link Karsten75 | 4rpl:commands:getkey [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
+ | < | ||
- | ====== | + | ====== |
- | GetKey(< | + | GetKey(< |
===== Description ===== | ===== Description ===== | ||
Line 8: | Line 9: | ||
Note: This returns true for as long as the key is pressed. | Note: This returns true for as long as the key is pressed. | ||
The first argument is a string and specifies which key to check. | The first argument is a string and specifies which key to check. | ||
- | 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. |
- | + | The list of possible values for the first argument can be derived from the enumeration for | |
- | The [[https:// | + | [[https:// |
===== Examples ===== | ===== Examples ===== | ||
Line 18: | Line 19: | ||
endif | endif | ||
</ | </ | ||
+ | < | ||