How to create a Node2D that you can manipulate in the editor window

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

I’m designing a Node2D that I’d like to be able to manipulate in the editor though the UI. I know how to make nodes responsive in the editor by using the tool tag, but I’d like to go further and provide the user with some handles they can drag around and some buttons with options in the toolbar.

In short, I’d like to enhance it with UI features similar to what you get from the Polygon2D node and be able to do similar things in the editor (create, delete, and move points; click somewhere on the body of the shape to select it and move it around; add buttons to the editor toolbar).

Is there a way to do this?