# Setup Stamina Decay/Increase for my Rolling/Dodging

**URL:** <https://forums.unrealengine.com/t/setup-stamina-decay-increase-for-my-rolling-dodging/478969>\
**Category:** Character & Animation\
**Tags:** stamina, unreal-engine, question\
**Created:** [February 19, 2021, 7:57pm UTC](https://forums.unrealengine.com/t/setup-stamina-decay-increase-for-my-rolling-dodging/478969 "2021-02-19T19:57:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlipperySlimYT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SlipperySlimYT](https://forums.unrealengine.com/u/SlipperySlimYT)\
**Post date:** [February 19, 2021, 7:57pm UTC](https://forums.unrealengine.com/t/setup-stamina-decay-increase-for-my-rolling-dodging/478969/1 "2021-02-19T19:57:03Z")

</div>

Hello. I currently have a stamina system that will depletes once the character inputs the sprint (Left-Shift button) and will increase once it reaches zero and/or the player lets go of the button. I also have a system with animation montages that will let the character input a roll/dodge (SpaceBar button) if they are moving or not. I have tried getting the animation montages to when playing lose stamina, but when I do it they don’t regain stamina. Any help would be appreciated, and I hope the screenshots help.

 ![330135-sprint-stamina-system-character-blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/d/84dc0c9aac03eaf77ae37949da0805136ae42c07.png)

 ![330136-roll-and-dodge-system-character-blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/c/36ced964296eab7bc9e7e78e45bd82ca3f7cccaf.png)
