Using a dropdown expression control to create keyframes
There are a few different ways to ask this question, which could either clarify or muddy the waters:
- Is there a way to create keyframes using an expression connected to a dropdown menu using an if statement?
OR
- Is there a way to change the actual value of a property using an expression rather than just the value being displayed? (Meaning, if I use an expression to reference 'value' it would actually change as opposed to being what was originally input)
OR
- Is there a way to ease between values of a property controlled by that dropdown?
What I'm working on
I'm in the process of creating an effect preset to make boxes whose size is controlled by a dropdown. Because there is a margin between the boxes as well as the boxes and the edges, the sizes aren't necessarily linear in nature. Because of that, I have the sizes connected to a dropdown menu (1/3 width = 565, 1/2 = 885, and so on). What I am hoping to accomplish is to be able to keyframe the sizes in some way without having to manually enter the box size each time and can use the dropdown instead. However, if I add keyframes to the size at the various points I'm hoping to change it and then set the dropdown back to the NULL value so that the expression is just referencing the value, the size doesn't actually change (which makes sense since the entered value hasn't changed between keyframes). If I add keyframes to the dropdown the change is abrubt rather than eased (also makes sense since there isn't values between the dropdown entries). So then, is there a way to add some sort of easing between the values controlled by the dropdown? Even if it involves something like adding another expression controller (slider, et cetera).
