Skip to content

Draggable (for physics objects)

Drag a physics object with the mouse (or touch).

Authors and contributors to this community extension: VictrisGames.


Enables players to click and drag on physics objects to move them. The object retains velocity when the click is released, allowing players to fling objects across the screen.

Note:

  • The default "draggable" behavior will not work on objects with the physics behavior. This extension should be used instead.
  • This extension will only work on objects that have the physics behavior.
  • Kinematic physics mode is incompatible with this extension. The object will be changed to dynamic mode.

Tip

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

This page is an auto-generated reference page about the Draggable (for physics objects) 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.