Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Is it possible to tween a GUI?

Asked by 9 days ago

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

0
You can tween the GUI's properties. This includes booleans and UDim2's. RobloxWhizYT 1852 — 9d
0
u did it right. make sure it isnt located where the code is nil. greatneil80 1074 — 9d

2 answers

Log in to vote
0
Answered by
Creacoz 62
9 days ago

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

0
Even images too and more. Creacoz 62 — 9d
1
Well, technically you can tween almost any GUI property. You just can't tween string or Enum-related properties. RobloxWhizYT 1852 — 9d
0
yessir meller Creacoz 62 — 9d
0
thanks HTHRWRU 5 — 9d
View all comments (2 more)
0
Umm it doesnt work HTHRWRU 5 — 9d
0
Make another question with the script Creacoz 62 — 9d
Ad
Log in to vote
0
Answered by 9 days ago

if u watch this video then the guy in there will explain very good and show u how to do it in detail https://www.youtube.com/watch?v=qgGDwTn0zgo&t=292s

0
No. RobloxWhizYT 1852 — 9d
0
Umm... No... HTHRWRU 5 — 9d
0
worked for me perfectly Gameplayer365247v2 166 — 9d

Answer this question