Hey Dan thanks again for helping me out ! I have some questions regarding your code-
1. In your for loop you wrote “var i =1” why is it different from “i=1” ? What types of error could’ve been produced ?
2. Just wanted to make sure that i got this part right – “currentComp.layer(i).property(“ADBE Mask Parade”).numProperties == 0″ – The if statement is checking that the 1st index of a layer property (mask) exists ?
3. I notice that i tend to store properties into vars when not needed, however i can’t wrap my head around the hierarchy in accessing different properties in 1 line as you did. I’m using https://after-effects-scripting-guide.readthedocs.io/ as my bible but i’m still very much confused, can you recommend another good source ?
And once again thanks ! 🙂