How do i acess children nodes of the same time

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By duppa

I have sevral buttons made from scene button.tsn named like button1, button2, etc. I want to run a function on all of them. How do I do it in one line instend of

:bust_in_silhouette: Reply From: djmick

You could put them in a group called buttons and just do:

for get_nodes_in_group(“buttons”):