-
On/Off expression link to a checkBox
Hello everyone,
i just did a subtitle template with a resized text box in the background, and an opacity animation on the text at each keyframe ( Thanks to Dan Ebberts expression i found here). my only tiny problem is that i needed the text to fade on the key frame so i need to stop the expression when i’m animating, and check it back at the end, and i was wondering “can i checkbox the button to on/off the expression” ( i know it’s only a few click more to do it but aren’t we all lazy and optimized motion designer)
i’ll join the opacity expression i used
so if anyone got a solution i’ll be glad to hear your advice.
Thanks everyonefadeTime = .3;txt = text.sourceText;
if (txt.numKeys > 0){
t = txt.nearestKey(time).time;
if (time < t)
ease(time,t-fadeTime,t,100,0)
else
ease(time,t,t+fadeTime,0,100);
}else
value