I've been saving some connections in a variable that my wandering code can keep track for use elsewhere.
Normally I can use something like $thisnode/childnode/child2node etc to access a child instead of find_node('childnode').find_node('child2node').
However, when I recall one of my saved locations in a variable (ie thisnode = self) and need to access a child node, I WANT to do this: thisnode.$childnode/child2node but that doesn't work and I'm forced to do thisnode.find_child('childnode').find_child... etc.
Is there a more sugary way to find child nodes in my situation?
thanks

    DaveTheCoder
    that's good to know, if I cant' do better.
    Was hoping for some direct path like the $ syntax, without calling anything but if this is it, then I am still better off lol!
    thanks

    • Toxe replied to this.

      Shadowphile

      You write : >...Is there a more sugary way to find child nodes in my situation?...
      a totally other way to find child nodes is to store them in a list when spawning with AddChild, so you dont have to search them, cause you have them in your list:
      public List<Node2D> nodelist = new List<Node2D>();
      ...
      nodelist.Add(spawnednode));
      ...