ViewportFrame goes out of my scrolling frame

Hello, i’m currently having a hard time with my shop gui i just finished it but my viewportframe goes out of the scrolling frame here is a picture:


Thank you!

1 Like

Go onto your ScrollingFrame and scroll (no pun intended) down until you find “ClipsDescendents” and then turn it on.

3 Likes

Remember to mark my/others’ answers/posts as Solution!

its already turned on :frowning: (30 characters)

1 Like

Oh, ok. Send me a screenshot of the Frame’s Property’s. (The Scroll. Frame)

1 Like

Okay, it clips the buttons but not the viewportframe

Are the ViewportFrames rotated at all? Rotated objects don’t get clipped correctly.

1 Like

Thank you so much! But i rotated my viewportframe because it shows the object rotated how do i fix that?

You’ll need to set the ViewportFrame’s camera to how you want it to be. It might be that your object has orientation different to the global axis so if you use it’s CFrame to help set the camera position then you may end up with this type of thing.

If you’re not sure what I’m talking about send me a DM with the code you use to create the ViewportFrames and their cameras and I’ll take a look.

1 Like

Okay thank you! (30 characters)