-
Movement control for counter
Hi guys,
I’m having trouble getting something to work.
Here’s the problem.I have a counter that is hooked to the rotation value of a clock needle. The digit counter is just a graphic that has numbers 0 – 9 running up and down. As the clock needle moves this changes the counter’s y position to reflect the position of the needle. So far so good.
Now I would like to add a twist. I don’t want the counter graphic to move until the needle hits exactly one or two 3 4 etc. So it would immediately move to the correct number once it got to the correct place on the clock.Dan helped me out before … Thanks for that here’s the code I’m using
yPosition = thisComp.layer(“NEEDLE”).transform.rotation/0.72%5000*.1;
[value[0], yPosition-81]