var pos = terr.position
This code draws a circle in the editor viewport just in the (0,0) of the viewport, aka the upper left corner.
terr.position # returns the position on canvas
I'm going to make a plugin that allows to create polygonized terrain, and polygon2D is not an option.
I want toI draw the circle directly on the node gizmo in the viewport editor, for example. How to get the position in editor viewport?