Creating fancy UI Bars

So I want to make a mode / posture bar for my game using these bars

image

But these are pretty complicated and a simple reposition / scale doesnt work as shown below,

image

Any suggestions on how to work around it?

2 Likes

you can use a uigradient with a sharp cutoff like this to make a healthbar with an image
also works with transparency (top one)

2 Likes

That was a great solution, worked well ty!

1 Like

You can also set the ScaleType to crop.

1 Like