A godot 4.x plugin that implements godotengine/godot-proposals#9782.
Use Shift + H to hide all nodes in the current scene except the selected ones.
Use Alt + H to hide all nonselected nodes.
Hotkeys can be customized via the Godot inspector tab in res://addons/solo_visibility/hide_nodes_shortcut.tres
(Get the Godot Game Engine here: https://godotengine.org/download/)
From the Asset Library:
- Download "Solo Visbility" from the Asset Store
- Enable the plugin in the
Project Settings / Plugin
tab
Manually:
- Download the
addons
folder and drag it into your godot project - Enable the plugin in the
Project Settings / Plugin
tab
Customization:
- The
Hide Non-Selected Nodes
hotkey is Shift+H by default. It can be changed inres://addons/solo_visibility/hide_nodes_shortcut.tres
- The
Show Non-Selected Nodes
hotkey is Alt+H by default. It can be changed inres://addons/solo_visibility/show_nodes_shortcut.tres
Where the hotkey can activate:
- Only when the 2D or 3D 'main screens' (the tabs in the top middle) are open
- Only when the 2D Viewport, 3D Viewport, or Scene dock are focused.
- If you have any of those three focused and the hotkey isn't working, please immediately open an Issue!
- Disabling the plugin causes
Undo Hide Non-selected Nodes
to break, even if the plugin is re-enabled before attempting to undo. I suspect this is Godot-level and cannot be fixed on the plugin's end.- Please remember to
Undo Hide Non-Selected Nodes
before disabling the plugin.
- Please remember to
- The current implementation of Shift+H and Alt+H use hidden metadata on each node to remember whether to show or hide the node. This may leave unwanted metadata on your nodes. A cleanup solution is being worked on, but if it bothers you you can always open
.tscn
files in a text editor and delete allmetadata/SoloVis_Hide## = false
lines (where ## is a random int).