I’ve been making my way through the 2D GDQuest Module 5, which is involving collisions and physics. Neat! So that got me thinking, what about dragging cards? Turns out there’s a lot of ways to do this. I went down a YouTube rabbithole comparing many techniques, and I wasn’t finding a lot of consensus.
I happened upon Drag and Drop Systems in Godot by Snoeyz, which compares three different techniques: native drag and drop, button-based drag and drop, and mouse event-based drag and drop. The author preferred their mouse event-based solution over native, but that may also be biased. The true takeaway: