-
Sliders to control end keyframe
Who’s in the mood for another expression discussion?
I have layer that needs to move on the Y axis (dimensions already separated). It always starts in the same position, but the ending position needs to be linked to the values of two Math.rounded sliders that control other parts of the comp..So it always starts at Position A and I need to figure out an expression that says “if Slider no.1 = 1 and Slider no.2 = 1, then stop at Position B. If Slider no.1 = 2 and Slider no.2 =1, then stop at position C” and so on.
Is this a valueattime thing, or have I got that wrong? I don’t want to know the value at a certain time, I need to dictate it. Do I need an intermediate third, reference slider to pull values from?
There is a workaround, but that would involve making 68 comps and I’d much rather solve this than make 68 comps and then write the expression that controls them.
Thanks in advance for any suggestions.
EDIT: Actually, this can be controlled by just one of the sliders, which also cuts the workaround to 12 comps instead of 68. I’d still rather find a solution though.
