Expression involving time and keyframe
Hello!
I'm learning expressions and want to write an "if / else" expression to make the scale of a shape do something like what I've written below. I just don't know the proper coding, or if you can even reference a keyframe's time value on the timeline.
If (time is less than the time value of this specific keyframe)
Scale = the value on such and such slider
Else (if time is more than that key frame's time value)
Scale = 100%
Basically I'm wanting the scale to equal the value on a that slider only while a shape moves from point A to point B. But once the shape gets to point B (that keyframe) I don't want the scale to be affected by that slider anymore, so that the scale stays 100% for the rest of the animation.
Hope that all made sense! Would love to learn how to do this. Thanks.
