-
Mask Index linked to Layer index
Can anyone help me.. I am digging myself into a hole trying to solve a problem that might not even exist.
I have a a psd layer with with lots of individual elements, some of which I would like to isolate and animate on different layers in 3d space.
Rather than cut out each layer in photoshop and import a layered file I have been trying to take a short cut (which obviously has become a long cut .. but hey is the journey not the destination) and do it in after effects.My rational is to draw a mask around each element that i wish to isolate on one layer.
I then want to add an expression that says
if the index number of this mask equals the index number of this layer then set the mask opacity to 100% else 0%this should then allow me to draw masks on one layer then simply duplicate the layer (potentially 50+ times) and each layer will only have one transparent (on) mask and display only one element.
i have been trying to use: thisProperty.propertyGroup(1).propertyIndex
but i dont really know what i am doing or even if its a particularly efficient work flow. but any help will be greatly appreciated.
Cheers