Life Bar

I tried something like that :

Condition :
At the begining of the scene : Create objet LifeBar at position Enemy.PointX(LifeBar);Enemy.PointY(LifeBar)

But I have 2 problem, it only create a lifebar for only one enemy and the lifebar isn’t following the movement of the enemy.

And how do you do that thing : put the life bar over enemy.

And I’m not really sure to understand how to set the size of lifebar.

Here is what I did :