How can I get the children of a scene

How can I get the children nodes of a scene from the scene tree and not the nodes that build up the parent scene.
I tried using get_children_count() but that only returns with the nodes that build up the node

Try this: get_children()

It should return every childs of a node or scene if you run it in the main script. Also you can access the current scene by get_tree().current_scene

1 Like

I tried this but an error says that the get_children function argument should be a bool instead of a Node

Nvm Iā€™m an idiot

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.