Skip to main content
Flowgun
Inspiring
November 26, 2025
Answered

count selected layers?

  • November 26, 2025
  • 1 reply
  • 220 views

Hello everyone,
I want to create a script I map to Ctrl+E that would collapse selected layers if more than one layer is selected, otherwise do the regular Expand.
Is it possible to know how many layers are highlighted in the Layers panel?

Correct answer CarlosCanto

No, I don't think collapsing layers or detecting highlighted layers is possible at the moment

1 reply

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
November 28, 2025

No, I don't think collapsing layers or detecting highlighted layers is possible at the moment

CarlosCanto
Community Expert
Community Expert
November 28, 2025

well, detecting highlighted layers "maybe", I'd give it a 5% chance