How to make a toggle input using enhanced input actions?

Hello. Is there a way to use the new input actions to make a toggle button for like sprinting? So pressing the button once would cause it to be true (starts sprinting) and pressing it a second time would cause it to be false (stop sprinting). I know it would be very easy to just do this in BP with a boolean, but Im just wondering if the new system can be used like that.

4 Likes

Wondering the exact same. Games now always allow for Toggle vs Hold interaction for accessibility. It should be handled by the input system.

1 Like

And you can use toggle in the modifiers option of the IMC