Hi,
I would like to set the view direction of a character (as scene) in the editor using a select choice (up, right, bottom, left).
The character is built on top of a Node2D class, then below a sprite, a tween, an AnimationPlayer Node.
Unfortunately, the "Node2D" class does not allow to use the keyword "tool" for my exported "direction" property, so I can't execute the code for sprite rotation etc.
Currently the Characters Note2D class has a script that inherits from a base character class.
It feels strange to now derive the base class from a node like "sprite" just to be able to use "tool".
Question: How do you solve such a problem, i.e. which root node class would still be useful here for general purposes? Or are there better ways to solve my initial problem?
Thanks! Juergen