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

How do you use Tweening Position feature?

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

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

7 comments

0

Mark this as the answer if this helps. ;^)

0

thx but where do i insert it for it to work?

0

Say you have a gui, and when you click the gui, another gui comes up.

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

0

umm ok

0

so is it like a buuton i have to insert this script to?

0

Yep! If you want it to move on button press. Insert this script inside a textbutton and the text button will sliiiide!

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