How do you set up autorunning?

What is the easiest way to set up autorunning.

If the person presses, ‘,’ the character will move forward automatically until ‘,’ is pressed again.


This is fairly easy. When you Press “,”, setup a bool that is Running Yes.

Of event tick, Have a branch that runs off that bool,

If true, do something like this. This is for Forward Moment.


they asked for a toggle button. so instead of on release, you can just use the pressed event to set the bool to its opposite value, using the Not operator.


Thank you both! I almost had it correct!

I also feel like this would take up a lot of memory space, since it runs every tick. Is that correct?