A downloadable tool

Buy Now$1.35 USD or more


Drag and Drop UI Tool for Godot 4

Features

  • Simple 'Draggable.gd' and 'DropTarget.gd' scripts.
  • Global 'DragManager.gd' (autoload).
  • Drag preview icons.
  • Signal-based drop handling.
  • Works great for inventories, logic puzzles, spell slots.
  • Demo scene included!

If you're curious about how it works, my game 'Spellbound' uses this system! Check it out!

Setup

1. Add the 'addons/DragDropTool' folder to your project.

2. Autoload 'DragManager.gd' (Project -> Project Settings -> Globals _> Autoload)

3. Attach 'Draggable.gd' to any UI element you want to drag.

4. Attach 'DropTarget.gd' to panels or zones that should accept drops.

5. Connect the 'dropped(data)' signal from the signal menu and handle the data inside it.

See the 'demo/' folder for a working example.

License

MIT License - you're free to use this in commercial and non-commercial projects. Please do not redistribute the tool itself. If you'd like to share it, link back to this page <3.

Credits

Made with love, lots of hydration and sweat by TheSunThatWanders (ME!).

Purchase

Buy Now$1.35 USD or more

In order to download this tool you must purchase it at or above the minimum price of $1.35 USD. You will get access to the following files:

drag_and_drop_tool_2025-07-12_00-23-13.zip 6.8 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.