-
Switching between 2 position leaders with a slider
Hello!
I’m trying to set up a slider that would control how much a layer should follow the movement of 2 separate “leader” layers.
When the slider is at 0, it should follow the movement of layer A, and at 100% it should follow the movement of layer B. That would be perfect, but if it is easier to set up the expression with 2 sliders I’m ok with that.
What I got so far is an expression that works, only that it follows the POSITION while I need the MOVEMENT to be captured. So now I can set up a slider % and then the starting pos of my target layer, but can’t animate the slider cause it just moves the layer closer or away from the starting point.
So my question is:
how can I track the movement of a layer? must I write some expression that checks for a layer’s pos changes between frames, and start from there?