So i know the long winded workaround to this and when dealing with 20 / 50 / 100 / more) masks that have been created using the complexity of auto trace (the methods i’ve used) i want to find a way to randomly or on a slider (with some control) be able to cycle through the masks on one layer and not have to move all masks to new layer (there is a plugin for this) I’m hoping its a shape layer of fill mask based expression and it will hopefully cut down a lot of comping and file sizes, as they can get quite big once you have only a section auto traced with say 100 layers and keyframes.
I don’t think i need to show a file, its just a simple ask. can you cycle through masks in any plugins or expression code?
I was thinking possibly set matte as this works with shape layer??
Hi Graham, since you can’t keyframe the Mask selection popup directly, you can’t write an expression for it either.
You’ll have to reference a Mask you reserve for this process (say “Mask 0”), and give that mask’s path an expression along these lines:
maskParade = thisComp.layer("MaskLayer")("Masks");
n = 1 + Math.floor(time)% maskParade.numProperties;