How to make scrolling frame act just like Developer console or Chat

If you scrolled to the bottom in the chat or Developer console, whenever a new message appears it stays at the bottom. How do I make it?

1 Like

You can do that with a UIListLayout.

I already made the gui basics, I just need it to keep at the bottom whenever a new message appears and it was at the bottom before

1 Like

Everytime you create a new GUI object inside your ScrollingFrame, just keep increasing that one’s LayoutOrder. Something like this:

newObject.LayoutOrder = #scrollingGui:GetChildren()

I meant the scrolling bar wont move.

expected behaivor
image

actual behaivor
image

Set the ScrollFrame’s CanvasPosition Y (Offset) to the Y axis of the AbsoluteWindowSize or AbsoluteCanvasSize

How do I detect if it was at the absolute bottom though?