Health bar animation problems

I tried making health bars for enemies on one of my projects,
but the problem is, that when i attack an enemy, all the other enemies health bars play the damage animation too. could anyone help?

enemy code:


health bar code:

1 Like

Have the message be selected to “Send to All Attached Objects”

1 Like

wow that was actually extremely simple! thanks.

2 Likes