This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getkeydown [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getkeydown [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== GetKeyDown ====== | ====== GetKeyDown ====== | ||
- | GetKeyDown(< | + | GetKeyDown(< |
===== Description ===== | ===== Description ===== | ||
Line 9: | Line 9: | ||
Note: This only return true once until the key is released and pressed again. | Note: This only return true once until the key is released and pressed again. | ||
The first argument is a string that specifies which key to check. | The first argument is a string that 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 possible | + | The list of possible |
- | [[https:%%//%%docs.unity3d.com/ | + | [[https:// |
===== Examples ===== | ===== Examples ===== |