UI PROBLEM i need help

I’ve wanted to learn a bit more on my own about how UIs are worked on, while also observing several timelapses from other developers to understand how they develop theirs. This sparked a question for me that I can’t seem to figure out. It’s been almost 2 years since I personally worked on the Roblox GUI system, but now that I’ve returned to it, I feel that there are many different things.

My question is: how can I place an image inside a frame in such a way that, no matter how much it protrudes, it always draws within the frame? This is quite similar to what happens in Adobe Illustrator when you instruct a shape to draw within it, and things only appear within the confines of that shape.

I saw this in a video and I would like to know how it’s done. I’ve recently purchased several UI plugins, but none of them have anything like this, or perhaps I haven’t purchased the right one.

1 Like

Use ClipsDescendants to ensure that objects outside the bounds of the frame are clipped. Rotated elements will not be clipped because that math is not implemeneted.

1 Like

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