Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to see if a GUI is still moving to its position?

Asked by 10 years ago

I've tweened a frame in the GUI, but I don't want the GUI to let someone be able to use any of the other functions while the frame's still tweening to its destined position. Will I be able to check if it's still tweening?

If it's the "override" part in TweenPosition, I'm confused on what that does and what true/false means in that.

And I apologize if this isn't that clear, I don't know any other way to put it. If you don't understand something I'll happily clarify it.

Thanks in advance!

1 answer

Log in to vote
1
Answered by 10 years ago

You can add a condition to the function to check if the Gui is at a certain position, and only tween the Gui if it is in that position.

0
Oh yeah! Thank you! Never thought about that! Devotional 210 — 10y
0
No problem. :) SlickPwner 534 — 10y
Ad

Answer this question