How to disable the keys hold?

@Ajia @petrocket

Good afternoon.
How to disable the keys hold? That is, if you hold down the button will perform the action is continuous. How to make so that when clamping the buttons perform the action only once? Thank you very much in advance!

You might want to use Input:ActionHandler: ActionPressed. It will only trigger once.


You might need to add or modify the keybindings for actionmap.xml in your folder


Here’s an example of my own custom actionmap with mouse input as well.