How do I detect collision with control node in Godot?

Godot Version

v 4.4.1

Question

Card scene tree

I want to make a card game where player can stack cards on top of each other (like Solitaire or Stacklands). I have a control node as the root node and Sprite2D as the child node. The cards already has dragging mechanic but I’m not sure how to make the stacking mechanic. I suppose the first step is to make the card overlap detected but I don’t know how to do it with control node

thank you in advance!

You probably do not want to use a Control node for the root, mixing UI and 2D nodes can be troublesome. Maybe you can use an Area2D to detect other cards for stacking.