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

How to use GuiObject:TweenPosition()?

Asked by 4 years ago

So I'm trying to understand GuiObject:TweenPosition() but all the tutorials I found did not help.

I tried using it repeatedly in a loop where four ImageLabels move sightly to the left of it. The Tween only ran once.

If you like to take a look of what I wrote here it is:

for i,v in pairs(Images) do
    v:TweenPosition(UDim2.new(v.Position.X.Scale - 0.10, v.Position.Y))
    print("Looping Images")
end

Thanks for viewing this!

Answer this question