Any way to manipulate all node children? (SOLVED)

I have a group of (de)buffs (GUI nodes) that enabled in GUI scene by default. They have invisible parent node (at least to keep hierarchy in order). I need to disable all of them when GUI scene appears, and be able to enable them one by one. If I get the idea correct, enabling parent node after it was disabled will enable all children nodes.

Is there any method to disable them all in init function (by one string) to enable one by one later?

1 Like

No. You need to create your own helper function to loop over a list of nodes and run a function on each of them.

2 Likes

Thanks! I hope it will appear somewhen. It’d be handy.