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

How would I tween text or image positions on roblox?

Asked by 4 years ago

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

Log in to vote
0
Answered by
NotedAPI 810 Moderation Voter
4 years ago
Edited 4 years ago

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

Ad

Answer this question