Skip to content

Cancellable draggable object

Allow to cancel the drag of an object (having the Draggable behavior) and return it smoothly to its previous position.

Authors and contributors to this community extension: D8H.


Add this behavior on an object with the Draggable behavior and the Tween behavior. Use then the action to cancel the drag, and the behavior will smoothly animate the object back to its original position, using a tween animation.

Tip

Learn how to install new extensions by following a step-by-step guide.

Cancellable Draggable object

Allow to cancel the drag of an object and make it smoothly return to its original position (with a tween).

Behavior actions

Cancel drag
Cancel last drag.

Behavior conditions

Dragging is cancelled
Dragging is cancelled, the object is returning to its original position.

No expressions for this behavior.


This page is an auto-generated reference page about the Cancellable draggable object extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.