How to change the Health UI according to how much HP the user has?

Consider driving it with Events - execute only when you get hit. If you bind, it will execute every frame; not the end of the world but why waste cycles. Perhaps something along the lines of is enough:

Images to show sit in an ordered array. Call the event when the player gets hit and you’ve calculated the damage done.

3 Likes