Scrolling Frame Rendering Elements When Not Supposed To

I wanted to make a scrolling frame with some shop objects icluding a viewport, few text buttons, and textlabels, ect. This has been setting me back from continueing to create.

The scrolling frame is rendering the elements even though it shouldn’t be.

I have tried looking on the Devforum and other platforms and they all suggest that “ClipsDecendant” should be true, and it has always been checked.

This is a new issue for me and I’d be thankful for any help!

P.S This didn’t seem to happen like 2 days ago, but just now and yesterday has it been an issue.

Could you send a picture of the GUI hierarchy? I feel like you’re on the right track with the clipping issue. Does turning on ClipsDescendants for the ScrollingFrame’s parent do anything?

Hey! so so sorry I didn’t respond sooner! I’ll send a picture right away.

So I wasn’t completley sure what you wanted to see, but I assumed you meant this.


Try using canvasgroups, they cut off anything that goes beyond their borders (Edit: make a canvas group the same size as the scrolling frame and set the size of the scrolling frame to 1, 1)

Not entirely sure what could be the issue from looking at it :confused:. Clipping it should cut off the buttons according to the frame. I tried replicating your structure on my computer, but I don’t run into that issue.

You could try the CanvasGroup solution first. If that doesn’t work out, I can take a better look at it if you want to copy and paste your GUI into a blank place and attach it here!

How would I set up a canvasGroup?

Make it the same size as the current scrolling frame, add a padding (for uistrokes) and set the scrolling frames parent to the canvas group, setting the size to 1, 0, 1, 0 and the position to 0, 0, 0, 0 if the anchor point is 0, 0

Would having the scrolling frame rotated have to do anything with this?

make sure your objects inside the scrolling frame are NOT rotated. rotated objects completely ignore clips descendants.

edit: ah well i guess was one second late to you figuring it out :smiling_face_with_tear:

1 Like

Ok let me try this! Thank you btw!

Just tried this and works perfectly now! Thank you so much!