Version : 1.0 for Godot 4

Author : Dark Peace

Installation

https://github.com/Dark-Peace/Godot-Hider-Node

Follow the Standard installation steps

Once it’s installed, a new node should be available (click to see the properties) :

Hider

It also comes with a little test scene where you can try the properties in action.

2. Documentation

How to use :

  1. Add the Hider to a parent node
  2. Enable the Hider by toggling the *enabled* property.

All the nodes in the subtree, starting from the Hider's parent, will be "hidden" when you select a node outside that subtree. They will be shown again when selecting a node of that subtree or the parent node.

Nodes are hidden by changing their modulate value. However, the Hider stores the previous modulate values in its *saved_states* property, which is reverted back when the node is shown again.