Health Bar Stacking

I’ve trying to figure out how to add a stacked healthbar that changes colours the further it goes up like red to green and make sure it stays within a certain length so it doesn’t overflow the container. At the moment it’s in the player controller. should this be linked to a different script?

I’m not sure how your question, but here a good start :

It’s getting old (2014) but I think it is still a good tutorial, I did it like 3 month ago. It shows how to create a basic health bar UI.

1 Like

Thanks dude!!