How would I make parts of a frame go invisible that go outside of the background frame?

So I’m currently making an admin panel with multiple pages and want to add a cool feature of when switching pages, it will go invisible as it slides out.

So for example:

The white box is the admin page, the gray box is the border.

image

Now that a portion of the white box is outside of the gray box, the portion should be invisible.

image

Anyone know how to do this?

2 Likes

First it must be descendant of the frame then in the frame property change clips descendant to true this will make stuff that is outside the frame invisible even if its half out of the frame it will be half invisible its a great function

1 Like