so I am trying to get nodes in group in order to sort them. I have a group "spaceships" and I am trying to make a var arr_ships = get_tree().get_nodes_in_group("spaceships)" but I am getting a null value error. I am not sure what might be causing this. Sorry I am new to this and am branching into an area that I haven't really used before.

  • DaveTheCoder replied to this.
  • xRegnarokx var arr_ships = get_tree().get_nodes_in_group("spaceships)"

    Misplaced quote. Should be:
    var arr_ships = get_tree().get_nodes_in_group("spaceships")

    xRegnarokx var arr_ships = get_tree().get_nodes_in_group("spaceships)"

    Misplaced quote. Should be:
    var arr_ships = get_tree().get_nodes_in_group("spaceships")