Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | shreyk27 |
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).
EDIT:
The object is a area2D node with sprite and collision shape2D as child.