I know I can use
to get the root of my entire tree.
How can I get the root node of the scene that my current node is in?
I dont want to
etc and I also dont want to
because I don't know how deep this node is into the tree.
I've been searching but haven't found a clean way to do this. An unclean way that will work is by placing on my SceneRoot node:
scene_root = self
and then on every node in the scene:
scene_root = get_parent().scene_root
but this is tedious to add to every single node I make.