⇐ Index
GetMappedKeyDown(<-key <-ignorePressesOverUI) ->val
Returns a boolean indicating if the specified Key was pressed during the game frame.
Note: This only return true once until the key is released and pressed again.
The first argument is a string that specifies the key mapping constant, as defined in Settings/Controls.
To see the mappings, bring up Settings/Controls and point at one of the key mapping buttons. The Mapping name will appear on the left under the name.
Note that the mapping name is case sensitive.
The second argument indicates whether to ignore the events when the cursor is over the UI.
if (GetMappedKeyDown("Custom0" true)) Trace("Custom0 Pressed") endif
⇐ Index