Health Bar image slowly getting smashed

Does anyone know how to fix health bar “image smashing”

image
image

as the player hp decreases the green part starts to slowly become a square which makes it clips threw the frame causing it to look weird

Instead of animating its size you could use UIGradients to animate its partial transparency. I posted a solution to a very similar topic here:

1 Like

You should definitely try this: