# Stamina bar in UI

**URL:** <https://forums.unrealengine.com/t/stamina-bar-in-ui/408959>\
**Category:** Community & Industry Discussion\
**Tags:** stamina, unreal-engine, question\
**Created:** [November 7, 2017, 1:19pm UTC](https://forums.unrealengine.com/t/stamina-bar-in-ui/408959 "2017-11-07T13:19:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9554853b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9554853b](https://forums.unrealengine.com/u/anonymous_user_9554853b)\
**Post date:** [November 7, 2017, 1:19pm UTC](https://forums.unrealengine.com/t/stamina-bar-in-ui/408959/1 "2017-11-07T13:19:00Z")

</div>

Hi all. So, i can’t find the error in my bp.  
I made a simple stamina system, and its subtraction during the run of the character. When the character is not moving or is walking, stamina recovers(regenerates). But faced with a problem, hud does not display the fill bar of stamina.Sitting here I can not understand where I made mistake.

The screenshots below  
As you see, stamina regenerates but ui bar dont fill up.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9554853b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9554853b](https://forums.unrealengine.com/u/anonymous_user_9554853b)\
**Post date:** [November 7, 2017, 1:58pm UTC](https://forums.unrealengine.com/t/stamina-bar-in-ui/408959/2 "2017-11-07T13:58:40Z")

</div>

Oh…i solved my own problem)))  
In widget code, I put a subtraction instead of division. Changed to division. Everything working.
