Godot Version
v4.3.stable.official [77dcf97d8]
Question
Having a parent node (GameManager) with a script how do I get it's child's children count?
I have a stucture like this:
->GameManager (GameManager Script)
---->Spawner
How do I get the Spawner child count or add child to it?
My problem isn’t what functions to use to achieve this but how to access this node and call the functions on the child node.
I tried giving it the path $Spawner.add_child(), it didn’t work.
Also giving it a unique name %Spawner.add_child() didn’t work as well.
What’s the best way to do this? Thanks