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

How do I make a GUI stop dragging over another GUI?

Asked by
Discern 1007 Moderation Voter
9 years ago

I've noticed that when I use the draggable property in a gui object, it moves fine. I want, however, for it to stop being dragged when I let go of the mouse over another GUI. So if I have two TextButtons and one is dragged over the other, how can I make it so it stops moving once I let go? (Currently, it just follows your mouse when I let go)

Answer this question