# Sprinting basics

**URL:** <https://forums.unrealengine.com/t/sprinting-basics/405798>\
**Category:** Character & Animation\
**Tags:** stamina, unreal-engine, UE4, Blueprint, question\
**Created:** [September 30, 2017, 1:50am UTC](https://forums.unrealengine.com/t/sprinting-basics/405798 "2017-09-30T01:50:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![macbean](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@macbean](https://forums.unrealengine.com/u/macbean)\
**Post date:** [September 30, 2017, 1:50am UTC](https://forums.unrealengine.com/t/sprinting-basics/405798/1 "2017-09-30T01:50:34Z")

</div>

hi i’m brand new to unreal engine development and for the love of god can’t seem to figure out how to get a basic sprint animation along with stamina logic. does anyone have a basic setup or youtube tutorial as to how i can get both done?

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [September 30, 2017, 3:30am UTC](https://forums.unrealengine.com/t/sprinting-basics/405798/2 "2017-09-30T03:30:10Z")

</div>

- You can allow a player to sprint by increasing their max walk speed.
- On tick when sprinting you can decrease stamina for some value \* delta-time
- On tick, when not sprinting you can add some value of stamina \* delta-time
- The run animation should be based on current speed and adapt for faster walking/running speeds
- [Unreal Engine 4 - Sprinting and Stamina Bar](https://www.youtube.com/watch?v=BRgGSIEZlS8)

---

<div class="post-metadata">

**Author:** ![macbean](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@macbean](https://forums.unrealengine.com/u/macbean)\
**Post date:** [September 30, 2017, 3:48am UTC](https://forums.unrealengine.com/t/sprinting-basics/405798/3 "2017-09-30T03:48:10Z")

</div>

i figured it out but thank youuuuu  
c:

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [September 30, 2017, 4:54am UTC](https://forums.unrealengine.com/t/sprinting-basics/405798/4 "2017-09-30T04:54:14Z")

</div>

If this answered your question, could you upvote & mark as answer?
