Dynamic keyframe value using expression?
Hi, I'll try my best to explain myself here.
I currently have an animation of a Shape Layer using two keyframes controlling the width of the the shape from 0 px to 100 px.
Now what I want to do is to have the second keyframe value be controlled by an expression (so I can link it & make it "dynamic") WHILE retaining the animation curves (velocity) from my predefined keyframes. Is this at all possible? In my mind it seems pretty basic as I just want to change the value of a specific keyframe while retaining the timing and speed of the predefined keyframes.
All I've seen are solutions where they replace the whole animation with some default ease or linear curve. It's crucial for me here to retain the predefined animation.
I'm thinking a solution would be as simple as this in the expression window:
key(2).value = [x, y]; //where I then would be able to set x to sourceRectAtTime().width of a specific object
Thanks in advance!
