How do you use tweening to move a gui across the screen swiftly?
COMMUNITY QUESTION
How do you use Tweening Position feature?
1 answer
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
This discussion is preserved as it was. New answers, comments, and votes are closed.

7 comments
Mark this as the answer if this helps. ;^)
thx but where do i insert it for it to work?
Say you have a gui, and when you click the gui, another gui comes up.
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
umm ok
so is it like a buuton i have to insert this script to?
Yep! If you want it to move on button press. Insert this script inside a textbutton and the text button will sliiiide!