Parent node visibility not affect child node?

Hi, i have a base node, and lots of nodes set parent to that base node. when i set the base node property “isVisible” to false, the base node disappear, but all the child node still there. What i except is when the base node is not visible, all the child node of that should also be not visible?

Or is there other ways to do that?

Hey,
Use setEnabled(false) instead of isVisible = false

1 Like

That’s it! Thanks!