Hi
I suggest adding the ability to disable the callback of RegisterKeyMapping from a function

This seems relatively useless, what is your use case.

Prevent my player being handcuffed from activating certain systems that use RegisterKeyMapping

Just set a variable on true / false and check it after the player presses the key?

Implement a check into the respective scripts key mapping commands to prevent their usage.

You would have to do the same thing using the “normal” control natives.

Though I can kinda see this as a “nice to have” feature if you could disable it from outside through another script. Kinda like DisableControlAction I assume.

The reason I’m asking this is that I can’t modify the code of these scripts, otherwise I’d have done it already

1 Like