Ah, maybe I see what you're getting at. So, in a structure like this:
Sprite1
Node2D
Sprite2
If you turn off visibility of Sprite1
, then Sprite2
is also made invisible.
However, with this structure:
Sprite1
Node
Sprite2
Turning off the visibility of Sprite1
does not impact the visibility of Sprite2
.
Can you not just replace your nested Node
references with CanvasItem
or Node2D
(for example)?