Only enabling expressions on certain keyframes
I'm setting up an opening title that needs to have a constantly changing title. I have used an expression to create a dynamic text box which is all fine and dandy. However, the next step is where it becomes out of my depth. In the video at the moment is a half circle which at the end of the animation lines up with the dynamic text box, using the following expression:
gap=20;
L = thisComp.layer("TEXT");
rect=L.sourceRectAtTime(time,false);
x=L.toComp([rect.left,0])[0];
[x-gap,value[1]]
My question is can I "keyframe" the value this expression gives at the end of the animation but keyframe earlier so that the half circle begins in the middle of the comp. Possibly is there a way to make the above expression linked to slider at value="100" and then not linked at value="0".
Any suggestions would be greatly appreciated.
