1.在形状图层路径K几个关键帧

2.添加表达式

myPath = thisProperty;
t1 = thisProperty.key(1).time;
t2 = thisProperty.key(numKeys).time;

sl = t2-t1;
t = Math.abs((time-t1)%sl)+t1
if (time <t1){
t = t1;
}
myPath.createPath(myPath.points(t), myPath.inTangents(t), myPath.outTangents(t), true);

3.效果

4.其他

属性循环请看:https://www.yuelili.com/ae/expression/11253/

Leave a Reply

Your email address will not be published.