-
Notifications
You must be signed in to change notification settings - Fork 10
Draggable Nodes
Valk edited this page May 15, 2025
·
12 revisions
This page is a WIP.
- Add
DraggableComponentnode as child to theControl,Sprite2DorAnimatedSprite2Dyou want to drag. - Add
DroppableComponentnode as child to theControlorNode2Dyou want to act as a container. -
DragManager.csneeds to be in the scene tree somewhere. Maybe you want it as an autoload, maybe you want it only where you need it. - Define your own logic in
dragManager.CanDropInContaineranddragManager.CanDrop