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.

3 Likes