Cutting GUI element out of frame

Hello, i was trying to find the way of GUI elements cutting out of frame they are in, but didnt found any. I would like to hear a way how to do it really

lets say we have a Frame, set is ClipDescendants property to true, now any descendant or child, if its clipping out of the parent frame, it’ll well, be clipped.

I think you can also do something like this with canvas groups, but I’m not sure.

If you want more control over your clipping then use canvas groups, as they allow you to rotate the frame inside or rotate the parent frame allowing you create many sorts of effects. But if you want simple clipping then just use a parent frame with its ClipDescendants property set to true.

1 Like

i tried to use it, but it isnt overriding frames of textlabels. What is the reason of it?

oh nevermind, i found the reason of it. Thanks, though it isnt fixed my problem cause i realized rotated guis arent overriding.

For that you need to use canvas groups.

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