The title really says it all.
I'm building an AdminGui, I'm just adding the 10%. I want an ImageButton to rotate, and it does, but while the GUI is being tweened, you can click the button, rotate it, and cause the GUI to break temporarily. I have a debounce in place, but it's not effective because it deactivates immediately after clicking. So, I need it to deactivate the debounce after the GUI has been tweened.
So, "How would I use :wait() to wait until a ScreenGui's position is whatever?".

3 comments
I got it fixed, but not with what you gave me; I didn't understand it, and I don't want to use something I don't understand. What I did was wait 2.5 seconds, which is the amount of time the GUI is given to tween itself, and it works seamlessly. But, I do that you very much for replying and trying to help me.
You didn't even call the functions...
Narrev, You don't call the functions in example code. It's not going to run anyways.