-
defining fields
I’m making an animation of drawing hand. I have several photos (topLeft, topRight, Middle, bottomLeft..) one after another, each 1s long in a preComp “hand” and right now I have an expression on time_remap of the “hand” set so that when hand’s anchor point is in top left quarter of the main comp, it changes the value of the timeRemap -> and the photo inside of the hand comp. (and the same for other quarters)
//time remap expressionx=transform.xPosition;y=transform.yPosition;
if (x>850 && y>550) 3 // bottom right quarter
else if(x<850 && y>550) 2 // top right quarter
else if(x<850 && y<550) 0 // top left quarter
else 1Problem is, when the hand’s trajectory crosses the threshold value back and forth too fast, it appears glitchy.
So I was wondering if there is a way to define fields that, when entered, would change the value. (or any other solution)