This event, as well as its counterparts,
GuiObject/Draggable, have all been deprecated. None should be used for new work.
The DragStopped event fires when a player stops dragging the object.
The mouse’s x location.
The mouse’s y location.
The below example assumes it’s within a GuiObject such as a
TextButton, and that the
GuiObject/Draggable property is set to true. It will print the X and Y of where the player stopped dragging the GUI. For example, if the player were to stop dragging the object at 189, 180 the below would print The player stopped dragging the GuiObject at (189, 180)