Inspiring
July 10, 2025
Open for Voting
.selectedProperties isn't sorted when selecting shapes groups in a shape layer
- 1 reply
- 142 views
- Translate
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.
