I have been looking for this for a while now.
I know that Godot has "drag and drop" functions built-in and even has a plugin demo for it but it is for GUI control nodes, not for Area2D etc. It is made for inventories, not for game controls.
My 2D game controls will be centered around this feature (touchscreens), so I am a little bit obsessing around doing it the best way possible with GDScript. I have tried many different ways overt he last few months but there are always drawbacks. The major problem was that usually, if I click and drag over another draggable element, it would then drag both at the same time. It sounds simple to fix, but I just cannot fix it properly. Also, I need to be able to add particles so that for example the dragged element leaves a trail behind it, so the solution where the element 'teleports' to the position of the next position of the mouse does not work here. I am still a beginner so I am aware that what I am asking may be too complex but I really thought that there would be some template for this. I can even pay for learning the solution if there is a udemy course which covers this properly because at this point I wasted way too much time looking everywhere.