How to create healthbar for multi bosses

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)

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



image

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

1 Like