I created a extendscript that automatically creates layersets for asset textures for a game.
After creating a layerset, the set is expanded by default. I want the layerset to be collapsed as shown in the picture below. I leave only the Diffuse layer to be expanded. The rest is closed. I've searched the reference by Adobe on how to do this but couldn't find anything. How do i collapse a layerset?