Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Tween CanvasPosition on ScrollingFrame?

Asked by
Zyrup 27
7 years ago

It's a quick one, sorry I'm providing no input. I assume its only one line, that's why.

0
Note they use Vector2 instead of UDim. Still don't know why. RubenKan 3615 — 7y

1 answer

Log in to vote
1
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago
Edited 7 years ago

You cant call a TweenPosition() on canvasPosition, you're forced to make a manual tween library for that.

FI.

for i=1,300 do 
   script.Parent.CanvasPosition = Vector2.new(0,i)
   wait() 

end
0
Oh, right. Thanks. You mean I'd have to physically make a loop to move it? Zyrup 27 — 7y
0
Yeah. Updated answer RubenKan 3615 — 7y
Ad

Answer this question