# Health bar help

**URL:** <https://forum.kirupa.com/t/health-bar-help/151938>\
**Category:** programming\
**Created:** [June 19, 2005, 7:01pm UTC](https://forum.kirupa.com/t/health-bar-help/151938 "2005-06-19T19:01:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyroki](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@pyroki](https://forum.kirupa.com/u/pyroki)\
**Post date:** [June 19, 2005, 7:01pm UTC](https://forum.kirupa.com/t/health-bar-help/151938/1 "2005-06-19T19:01:07Z")

</div>

like always im having problems well not too big neways. i made a healthbar and when the enemy hits the hero it gets longer i know why which is bcause i put if enemy hitest the hero for the healthbar to \_xscale += 5 but it looks messed up bcause it is getting longer so is there a way for only one side of the bar to come in or just simple question how do u make a health bar go down.
