|Topic was automatically imported from the old Question2Answer platform.
I have 2 gun scenes and the player adds them as a child on a
position2d node. I have a hud that show the payers hp and ammo but currently im trying to figure out how to get the gun scene child because it could be any gun so i dont have a direct path to it.
My scene tree is like this
—chosen gun(pistol, minigun)
The gun will be instance into the scene depending on what was equiped.
Are the any methods that can get me the gun child even without knowing the node name