-
Linear expression to control start/end keyframe (Essential Graphics problem)
Hello, I have a question regarding the linear expression I am using.
This expression is used to control the start and end range of a basic text animation ( ‘typewriter’ in Animation Presets).
The idea is to have a template where I can choose the start and end frame of the text coming on screen.
It works just fine in the composition itself, but when I use it as an essential graphics layer in another composition the animation always starts at the in point of the layer, regardless of the numbers I input in the essential graphics panel.I’m working on AE CC v15.1.2
Here is a link to a screenshot, if that would help to clarify the problem.
https://cincopa.com/~A4IA-RbWMFlu!AEODePzHPqmlAnd the code I’m using:
StartPoint = effect("START")("Slider")/25;
EndPoint = effect("END")("Slider")/25;if (time<=StartPoint){0;} else if(time>=EndPoint){100;}
else { linear(time, StartPoint, EndPoint,0,100); }