#Implementing interactable 2d gizmo on editor

1 messages · Page 1 of 1 (latest)

smoky saffron
#

I'd like to implement interaction for one of my custom nodes similar to the editing box used for sprite2d and control. However, I haven't been able to find any clues, even what this gizmo is called. should I implement the interaction and drawing from scratch, or is there any simpler way for this?

drowsy wharf
#

I don't think extending the editor is a "beginner" question 🙂 Have you looked into the possibility of making a @tool script instead? Unless you really want a plugin, I suspect a tool could be easier.

smoky saffron
#

I tried using the tool keyword directly on the custom node, but the interaction doesn’t work when the node is in the scene tree of the 2D editor. As for plugins, I couldn’t find any related documentation or articles.

#

maybe I should write this in advanced-help?

drowsy wharf
#

Don't know if that will increase the chances of someone with this knowledge sees it, it might not matter

#

Perhaps it's too different from what you want to do though..

smoky saffron
#

I tested it but as it is based on node3d, couldn't find a way around it

#

Reinventing the wheel would be better for now. Anyway thanks for your help