Any smart ways to tween a frame inside a UICorner'd Frame?

Hello

Consider this: I have a parent frame that has a UICorner, I am trying to tween a child frame within this to have a “fill up” effect on the parent frame, only issue is that whenever I tween upward, you have either the hard edge of the child frame sticking out, or you have a corner frame filling it up instead of a perfect frame; see references:

Any suggestions or smart tricks?

Consider using a CanvasGroup:

image

In this example, we have a blue-colored CanvasGroup with a UI corner, and a regular red-colored frame that is naturally clipped by the CanvasGroup.

Note that as per the documentation CanvasGroups are slightly resource-intensive.

1 Like

I appreciate that, works well. :pray:

1 Like

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