Skip to main content
Inspiring
July 10, 2025

.selectedProperties isn't sorted when selecting shapes groups in a shape layer

  • July 10, 2025
  • 1 reply
  • 135 views

Hello.
I was working on a script and used comp.activeItem.selectedProperties to get the different shapes that is in a shape layer.
but, i didn't get it in the same order of selecting, instead, I got them in the hierachy order.
Why does this happen, even thought it works with different property groups like for example selecting in a shape layer the ('content') property group and ('transform') property group, results in the right selecting order.
So it seems there is some bug in giving the right selecting order of shapes in a shape layer.
Here is a picture for showing the groups that dosen't give the right selecting order.
Thank you.

1 reply

Inspiring
July 17, 2025

@JohnColombo17100380 
Any one here for this bug?😞
It prevents my script from working.
Hope it gets fixed soon.