How to make GUI scroll down/up by mouse or a slider?

I am currently making a debug console for a game, I have made it put out prints correctly and such, but I do not know how to make it scroll, because at some point the UIListLayout can not put everything into the GUI

Can’t you use a ScrollingFrame?

Oh, is there a maximum for how much it can scroll, or is there no limit.?

You can change the CanvasSize for a larger scrolling range. It is limited to that scrolling range, but I’m sure you can manipulate it via a script to get bigger as more items fill it up.

Here is the API reference

I am using an UIListLayout, I’m not very sure about this, can I get an example?

Nevermind, just saw this:

It will resize as more children occupy it.

3 Likes

I use UIListLayouts all the time with scrolling frames, it works. All a UIListLayout does it override the size and position of a UI object to form a list. It works in any UI object, for any UI object.

1 Like