Skip to content

Draggable Behavior Reference

Allows objects to be moved using the mouse (or touch). Add the behavior to an object to make it draggable. Use events to enable or disable the behavior when needed. Read more explanations about it.

Draggable object

Move objects by holding a mouse button (or touch).

Behavior conditions

Being dragged
Check if the object is being dragged.

Was just dropped
Check if the object was just dropped after being dragged.

No expressions for this behavior.

This page is an auto-generated reference page about the Draggable Behavior feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.