Hello,
I have a character node that runs around a level scene, following a path defined by four Marker2D nodes that are part of the character node. In a given level I want to place those nodes in different spots, depending on the layout of the level. I can do this by adding the character node, then making its children editable, then placing the Maker2D nodes where I want them. That works fine.
I would rather use @tool + export variable to do this, but I can't figure out how to get it to work. I would love to be able to place the character, then just drag each of the Marker2D points to a new spot (like I do with editable children). It works if I make it a @tool and export Vector2Ds with getter/setter functions for each Marker2D position, but then to change it I have to manually type in the Vector2D positions I want for x and y, which is a pain. Is there a way to set position via dragging if using @tool/export?
Thanks,
Douglas