Copy link to clipboard
Copied
How can I give a value to the second keyframe depending of the text length?
The first key frame is static but want to move the shape to the right to cover the text.
I also want to keep the characteristic of movement, so the linear(t,t1,t2,x,y) doesn't suit for this.

Thanks for any help
You still use linear() to modulate the output, only this time actually remapping the time paramater that feeds into a valueAtTime() construct.
Mylenium
Copy link to clipboard
Copied
You still use linear() to modulate the output, only this time actually remapping the time paramater that feeds into a valueAtTime() construct.
Mylenium
Copy link to clipboard
Copied
thanks for this, could you give me an example please?
Copy link to clipboard
Copied
Once you have time I would need an exapmle as the code I used actually didnt work.
Thanks in advance
Copy link to clipboard
Copied
A quick search on google you will find a hundred of tutorial and example about the ValueAtTime expression so take a look and see if you can find your needs, anyway check this link where you can find a useful expression including example for the one you need
https://www.schoolofmotion.com/tutorials/amazing-expressions-in-after-effects
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more