Toggle AutoMove Forward

I want to set a key to toggle the player to auto move forward. Like “C” in Skyrim (as default). In Input Settings, do I have to make a new Action Mapping or an Axis Mapping? And which nodes should I use?

you should use a boolean with a Not node to toggle a state:


then on event tick, you can branch on that bool to decide if you want to addMovementInput.

Thank you so much! I have added an ECheckBoxState in order not to overlap with the normal move forward so the speed is not doubled when autowalking + pressing W to move forward and this has been all that I needed. Thanks again.

Wonderful! thankyou for this. been trying to do it myself for an hour or 2, thought I’d see if anyone had already asked and solved it. And of course you have. thanks guys!