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

How would I tween text or image positions on roblox?

Hi I always wanted to know how to tween positions of text and image labels, but never knew how. Could someone explain it to me in details? I would really like to know!

1 answer

✓ Accepted answer

TweenPosition is used when you want to tween a GuiObject. When you want to tween a GuiObject, you must also include a UDim2. UDim2 is basically where the frame is going to move to (the end position).

Here is a simple example for you:

frame:TweenPosition(UDim2.new(1,0,1,0))

If you need more information regarding Tweening you can look at the API-Reference regarding tweening here https://developer.roblox.com/en-us/api-reference/function/GuiObject/TweenPosition

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