Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to auto scroll a ScrollingFrame?

I am trying to make a ScrollingFrame in which as more frames appear it scrolls down so you can see the latest one, however I am unable to find a way of doing this.

1 answer

✓ Accepted answer

Scrolling frames have the property "CanvasPosition", set this value to make the scrolling frame scroll (No smooth animation automaticly).

An auto-scroller could look like this:

--Localscript inside ScrollingFrame
for i=1,300 do
	script.Parent.CanvasPosition = Vector2.new(0,i)
	wait()
end

For some reason they use Vector2.new() instead of Udim.new(). I don't know why Roblox chose for this.

This discussion is preserved as it was. New answers, comments, and votes are closed.