# How to create healthbar for multi bosses

**URL:** <https://forums.unrealengine.com/t/how-to-create-healthbar-for-multi-bosses/2042595>\
**Category:** Blueprint\
**Tags:** health-bar, unreal-engine, UI, Widget, question\
**Created:** [September 28, 2024, 1:08pm UTC](https://forums.unrealengine.com/t/how-to-create-healthbar-for-multi-bosses/2042595 "2024-09-28T13:08:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AKKKOU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AKKKOU](https://forums.unrealengine.com/u/AKKKOU)\
**Post date:** [September 28, 2024, 1:08pm UTC](https://forums.unrealengine.com/t/how-to-create-healthbar-for-multi-bosses/2042595/1 "2024-09-28T13:08:48Z")

</div>

Hello, I’m new in UE5 and I’m trying to make a boss fight and I found out that the boss’s healthbar will overlap with each other, I’m trying to make it look like the one in Black myth Wukong (image below)

 ![Screenshot 2024-09-28 161642](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/9/d39fb44d6a2ec0630095dd68bc5b968990c209cf.png)

How can I do it? This is my current code.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/8/3e84d7ad97646ff8ea55223142fe46d85e7239e6.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/6/c56ef2353b97c3fc17132835cc9f36baeee5697c.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/7/677b513fc74a9639bf08aa127e67f8ca3bce5ffa.png)

---

<div class="post-metadata">

**Author:** ![zeaf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zeaf/32/1108035_2.png) [@zeaf](https://forums.unrealengine.com/u/zeaf)\
**Post date:** [September 28, 2024, 1:34pm UTC](https://forums.unrealengine.com/t/how-to-create-healthbar-for-multi-bosses/2042595/2 "2024-09-28T13:34:10Z")

</div>

Easiest way would be to add the health bar widget to a vertical box that you have preplaced in the appropriate position, something like a “Boss health bar container”

The health bars themselves should not have a canvas, and should have the desired size set through size boxes perhaps

The container itself could be a part of the HUD, or it can be dynamically added, but then you’d have to somehow find it to keep adding to the same one
