User Tools

Site Tools


4rpl:commands:getkey

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:getkey [2024/02/16 18:29] digitalizedMind4rpl:commands:getkey [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 9: 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 list of possible values for the first argument can be derived from the enumeration for 
 [[https://docs.unity3d.com/ScriptReference/KeyCode.html | KeyCode]]. [[https://docs.unity3d.com/ScriptReference/KeyCode.html | KeyCode]].
4rpl/commands/getkey.1708108173.txt.gz · Last modified: 2025/02/14 14:56 (external edit)