Is there any way to collapse all game objects in the hierarchy?

Is there any way to collapse all game objects in the hierarchy? My hierarchy becomes bloated with huge game objects that are opened. I feel like this is not really efficient for work. Any way to quickly collapse all automatically?

If you are using Windows then try to press Alt + Right Mouse Button key on the collapse arrow of the parent game object . It worked for me.

@sameel I don’t suppose there’s an alternate that allows me to do this entirely with the keyboard? The mouse trick is great! But, in the name efficiency, it would be better if I could stick with arrow keys and not have to reach for the mouse.


Nevermind, found it! You can also use right-arrow and left-arrow in place of right-click/left-click.