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

How do you use Tweening Position feature?

Asked by
Tizzel40 243 Moderation Voter
6 years ago

How do you use tweening to move a gui across the screen swiftly?

1 answer

Log in to vote
0
Answered by
Fifkee 2017 Community Moderator Moderation Voter
6 years ago

Like this!

script.Parent:tweenPosition(UDim2.new(1, 0, -1, 0), "Out", "Back", 0.3, true)

"Out" >> if I remember correctly, there is only four types. "Out", "In", "InOut", and "OutIn."

"Back" Since I'm getting blocked by ROBLOX's garbage DOSarrest, I'll give you this link here.

0.3 > How long the animation will take to get from point A to point B.

true > overrides other animations, false prevents that

0
Mark this as the answer if this helps. ;^) Fifkee 2017 — 6y
0
thx but where do i insert it for it to work? Tizzel40 243 — 6y
0
Say you have a gui, and when you click the gui, another gui comes up. GamingOverlord756 48 — 6y
0
In order to make this gui look "professional", such as slide onto screen, you'll insert a tweenposition like this answer on the script of the gui that you clicked GamingOverlord756 48 — 6y
View all comments (3 more)
0
umm ok Tizzel40 243 — 6y
0
so is it like a buuton i have to insert this script to? Tizzel40 243 — 6y
0
Yep! If you want it to move on button press. Insert this script inside a textbutton and the text button will sliiiide! Fifkee 2017 — 6y
Ad

Answer this question