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 3 months 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. BashCaster 2200 — 3mo
0
u did it right. make sure it isnt located where the code is nil. greatneil80 1211 — 3mo

2 answers

Log in to vote
0
Answered by
Creacoz 107
3 months 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 107 — 3mo
1
Well, technically you can tween almost any GUI property. You just can't tween string or Enum-related properties. BashCaster 2200 — 3mo
0
yessir meller Creacoz 107 — 3mo
0
thanks HTHRWRU 6 — 3mo
View all comments (2 more)
0
Umm it doesnt work HTHRWRU 6 — 3mo
0
Make another question with the script Creacoz 107 — 3mo
Ad
Log in to vote
0
Answered by 3 months 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. BashCaster 2200 — 3mo
0
Umm... No... HTHRWRU 6 — 3mo
0
worked for me perfectly Gameplayer365247v2 551 — 3mo

Answer this question