I want to make health bar for every enemy unit spawn. I read in another post and put the health bar in container. However, when a unit is attacked, all health bars from all units are affected. How do I make it that only the attacked unit health bar is changed? I don't have the capx right now so I'll try to describe what I did. I used a Monster family.
Bullet on collision with Monster ==> set width Healbar = Monster.HP