-
Use A Null Slider To Interpolate Between Series Of Positions
I have a layer that I’d like to smoothly move between a series of pre-set x,y positions (2, 54)(-4, -174)(0, -12)(8, 190) etc. Obviously I can keyframe each position manually, but I’d like to be able to use a parent “master slider” to interpolate between each x,y value.
For example:
I’d like to be able to enter a value of “1” into the “master slider”, and have the child layer’s position move to 2, 54; then enter a value of “2” into the “master slider” and have the child layer move to position (-4, -174); then enter a value of “3” into the “master slider” and have the child layer move to position (0, -12); then enter a value of “1” (again) into the “master slider” and have the child layer move back to position (2, 54)..etc…
In this example I use 3 different x,y positions for the sake of simplicity, but ultimately I’d like to be able to smoothly move between 100+ different positions using this method.
Also, it’s important that whatever script I ultimately use isn’t temporal-based/timeline-based, but is based purely on x,y positions. I’m new to scripting, but I’m hoping there’s an elegant solution.