UI Curved health bar

Hello developers,
I am looking to make a health bar, which i know how do to however i always do a simple block. i havn’t experminted much with curved health bars and that is what id like to do.

(two images, red should be health, green is just a representative backound)

this is a screen ui image, id like it to, well scale down across the curve. i think it has something to do with recttransform but i am unsure on how to do it

Place a UIGradient into the red ImageLabel, correspond the Transparency to the players health and make the rotation 90.

couldnt you use ImageRectSize so the image stays the same but just gets cut off


use clipdescendants and a simple frame (which is the actual bar) that goes over the curve bar

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.