How do I make this logo fill up like a water bottle properly

I want these logos to fill/drain like water bottles but the corners keep popping out the side, does anyone know of any other way to make it work properly?

1 Like

You could try the property “ClipDescendants”

1 Like

You can use a CanvasGroup for this. Put a UICorner in it and any frame you put in the CanvasGroup will be clipped by the UICorner

1 Like

Make a clone of the icon. Use a gradient with transparency set to make it half invisible (0:0, 0.499:0, 0.5:1,1:1), to make the meter. Use offset to determine it’s filled percentage.
ec9162198048afa1974b51874de0d4f9

1 Like