How do I make a sprint button?

I’m working on a third person game and I’ve been trying for so long to add a sprint feature that takes effect immediate as soon as I press the button as well as changes the animation to the running animation. So far I’ve managed to get the sprint feature but there is a few seconds when the character gets slowly faster.
I need the character sprint animation to go back to the walk one once I let go of the button.

Sorry for asking so much and thank you in advanced for any help.

This forum post should help you out Blueprints: Basic Sprint - Beginner Friendly - Community Content, Tools and Tutorials - Unreal Engine Forums

The problem isn’t the animation speed, it’s the fact that the animation stops half way through as if someone pressed pause in the middle of it when you release the sprint key instead of returning to the normal walk animation.
Thanks for the other part of your answer, the image will more than likely help.

Thank you for the link, I will check it out.

This is a quick fix for you - animation speed simply increases & decreases in accordance with current speed

1 Like