[Script] Open/Close All Groups

If you use this script it will toggle ALL groups open or closed in your project. It doesn’t update until you click a layer or group though. If you click in the middle of open groups it doesn’t close them entirely, so you can close everything except one layer for example. if you want everything closed though just click the primary group to update it =) Script