-
Sequentially Animating Masks Using mask(index)
I’m trying to sequentially animate a series of masks to reveal parts of an image. The expression is on the expansion property of the first of 8 masks, and is based on a slider value and was inspired by a tutorial at Tuts+ (https://cgi.tutsplus.com/tutorials/how-to-create-infographics-that-animate-themselves–ae-26627)
According to: https://helpx.adobe.com/after-effects/using/expression-language-reference.html — mask(index) has a return type of Mask, (which isn’t a number) so AE keeps giving me errors on the expression. I am trying to return a number so that I can create a sequential delay based on the index number of each mask.
Any ideas? Thanks in advance.
m = thisComp.layer("Null 1").effect("Slider Control")("Slider");
delay = m+mask(index);
exp = thisComp.layer("Null 1").effect("Slider Control")("Slider").valueAtTime(delay);
exp