Hi devs, can someone please help me with the Automatic Scrollenframe Position that determines the y-achse size of the following frame and then change the position like in the TextChatService but only as custom Ui??
You could change the CanvasPosition whenever a message is added based on the AbsoluteCanvasSize like this:
local initialOffset = ScrollingFrame.AbsoluteCanvasSize.Y
local function onMessageAdded()
local y = ScrollingFrame.AbsoluteCanvasSize.Y - initialOffset
ScrollingFrame.CanvasPosition = Vector2.new(0, y)
end