0 votes

I am currently working on a 2D card trading multiplayer game, I saw a video tutorial on youtube about drag and drop functionality (https://youtu.be/iSpWZzL2i1o), the card objects are overlapping each other and when selected to drag they get together and also the card selected stays behind the cards instanced after them.
So how would I implement single object drag and drop functionality even on overlapping card objects(instanced).

The object is a area2D node with sprite and collision shape2D as child.

in Engine by (44 points)
edited by

1 Answer

0 votes


This site has loads of other beginner tips, or "recipes" for common problems. I highly recommend you look through them!

by (1,100 points)

The article is related to rigid bodies so the objects won't overlap,
But I want them to overlap and only a single object should be dragged.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.