- May 15, 2020 at 1:14 pm
Due to having less work because of the pandemic, I’ve been focussing more on learning expressions in After Effects. I’m new to expressions, so sorry if I’m wasting your time!
I’ve been trying to create a dynamic preset. Almost everything worked well, but I’m facing one problem now, which seems quite easy but I can’t figure it out. I’ll try to explain it as best as possible.
I have a responsive text box, which is tied to the text layer with sourceRectattime(). The animation I’m looking to do is making the text come up inside of the text box, but I want this animation to be dynamic. I already have a layer that calculates what the value needs to be, but I can’t find out how to link this to the keyframes I want to link the value to.
The “Height position” is simply a layer that calculates the height of the text block using sourceRectattime() minus the “offset paths” value, so it shows the exact value of the text height.
So, I’m searching an answer to the questions how I can give a keyframe a dynamic value with expressions.
I hope someone can help me out ☺
- May 16, 2020 at 2:07 pm
Martijin, what you could do in this case, is use interpolation – which will allow defining that ‘position value’ without actual keyframes.
Log in to reply.