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

Is it possible to tween a GUI?

i tried using GUIOBJECTNAME:TweenPosition(UDim2.new(0,1,0,1)) but it still doesnt work can i get some help?

2 comments

0

You can tween the GUI's properties. This includes booleans and UDim2's.

0

u did it right. make sure it isnt located where the code is nil.

2 answers

✓ Accepted answer

Yes it is possible to Tween a frame or a TextLabel inside a gui.

https://developer.roblox.com/api-reference/function/GuiObject/TweenPosition

Example : GUI:TweenPosition(UDim2.new(1, 0, 1, 0))

You could even add animations to it like this : TweenPosition(UDim2.new(0.5,-200,0,0),"In","Quad",0.5) with easing techniques. (Quad is the type of movement we are doing rn) (0.5 is the time it takes and the In is the direction the easing is doing.

https://developer.roblox.com/api-reference/enum/EasingStyle

6 comments

0

Even images too and more.

1

Well, technically you can tween almost any GUI property. You just can't tween string or Enum-related properties.

0

yessir meller

0

thanks

0

Umm it doesnt work

0

Make another question with the script

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