Hey! I want to make something like an ‘E’ To hold GUI, and when you hold it, a tween plays, on a Gui, but when you want it to pause, how would I approach it? I tried some attempts but it wasn’t working.
3 Likes
Use TweenService instead, you can pause, cancel and play a tween.
1 Like
simply use Tween:Pause()
to pause a tween.
1 Like
Yes, but I’m using :TweenSize() instead of TweenService
1 Like
I don’t think its possible to use Pause on TweenSize. So the best thing to do would be switch to TweenService, imo.
No it is possible, all you do is tween the size to the current size and put 0 for the time
frame:TweenSize(UDim2.fromScale(1, 0.5), "Out", "Quint", 2)
wait(0.5)
frame:TweenSize(frame.Size, "Out", "Quint", 0, true) -- last variable Has to be true, it is a bool whether or not it overrides current playing tweens on it
3 Likes
I’d just like to point out that TweenService doesn’t have as much as a smooth effect compared to the tweening functions for GuiObjects, it’s better to use tweening functions.