Activity › Forums › Adobe After Effects Expressions › y Position move with hold keyframe
-
Jk Patel
January 4, 2017 at 11:48 amI have a similar question:
I want my later to move by 300 pixels up on the Y axis every time I hit a marker on the layer. Can this be done using an expression?
-
Dan Ebberts
January 4, 2017 at 6:49 pmLike this maybe:
n = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (marker.key(n).time > time)n–;
}
value – [0,n*300]Dan
Reply to this Discussion! Login or Sign Up