A Draggable component allows an object to be dragged around the scene by the mouse cursor. The dragging logic is automatic, but Draggable provides action sequences to run when dragging starts and when it ends.
Action when drag starts
The action sequence to run when the user begins dragging this object.
Action when drag ends
The action sequence to run when the use releases the mouse button and stops dragging this object.
Keep within region
If set to a game object or region, prevents the dragged object from leaving the bounding region of that object.
Pro Tip
To detect whether an object has been dragged to a specific part of the screen, try using the Check For Object Overlap action in the Action When Drag Ends
sequence.