-
Label follow ball bounce *but* remain at the maximum historical position?
I’ve tried and I’m stuck …any help greatly appreciated 🙂
MORE DETAIL: I want have a label follow a ball bounce and have it remain at the maximum historical height of the ball (which will gradually increase).
I can make the label follow the ball (easy!) but I can’t make it remain in position once it’s reached it’s maximum height to date. Can anyone show me how to do this?
This obviously isn’t it but this all I have that works so far:
this_y = transform.position[1];
ball_y = thisComp.layer("Ball").transform.yPosition;if (ball_y < this_y) {
new_y = ball_y;
} else {
new_y = this_y;
}[transform.position[0], new_y]