Skip to content
Jigwright
HullForge docs

Remove Input Mapping

Unbind a key from an Input Action in a mapping context, and verify by reading the live mapping list back. Removes every row matching that action and key, because duplicates both fire and leaving one behind would look like the call did nothing.

hf_remove_input_mappingWriteDestructive

Arguments

NameTypeDescription
actionreqstringPath of the Input Action to unbind.
contextreqstringPath of the Input Mapping Context.
keyreqstringKey name to unbind, as the engine spells it.
forceboolean
= false
Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first.

Nearby in Enhanced Input: