-
Timer time.toFixed(1) linked to a checkbox control effect.
I’m trying to make a timer count up with the expression “time.toFixed(1)”, and I linked it to a Checkbox Control Effect, so that when the checkbox is On, the timer runs, and when it’s Off, the timer freezes at that frame.
I wanna make it as automated as possible, so I could just put On/Off keyframes and the timer is animated according to the keyframes.
I tried this expression:if(thisComp.layer("Control 1").effect("Control")("Checkbox")>0){time.toFixed(1)} else {}But I don’t know what expression I should use in the else {} statement.
I don’t wanna use a Slider Control, because the video i’m making requires that the timer has to go exactly at the actual time, not faster/slower. And it’s so hard to get that on point with the slider.Any recommendations? I would really apreciate it