A while ago I tried making a game where it spawned 3 sprites (enemies) which was of the same sprite, just 3 copies. When I shot one of them, a health bar would appear beneath them. But when I did shoot them, the health bar appeared below all of the enemies. As if that wasn't enough problem, the health-bar was changing on ALL of the bars, even though you just shot one of the enemies.
I was thinking if there is a way to make a sprite unique or something? Because that might fix it, right? Or is there another way to do fix so not all change?