How would I go about making a similar drag and drop canvas to this gif?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By BlackJitsu

What control nodes can I use to replicate this programs’ drag and drop feature on canvas that you can zoom in and out of

Gif - Imgur: The magic of the Internet

If anyone knows any resources that might help me or some simple advice to guide me in the right direction, that would be fine.

:bust_in_silhouette: Reply From: Footurist using TouchScreenButton here but would be very similar for other buttons

extends TouchScreenButton

func _ready():

dragging and dropping

func _input(event):
    if event is InputEventScreenDrag and is_pressed():
        position += event.realtive

For the connecting part you would have to define a bezier curve, which you tessellate everytime the points of it change. You can then manipulate the points and handles of the curve via script. You can find information about thart part by googling.

Hope it helps.