Is there an expression that could be applied to any layer, at any position, that would then take that layer's current position, have it start at a lower vertical position (say 30 pixels lower) and have it move up to the current position in a set amount of time? I have dozens of text layers that I need to do this to. It would be great if there was a simple expression I could just apply to each layer rather than manually setting each layers keyframes. Not to be greedy, but an easing function would be great as a part of it, too.
Thanks.
Move layer based on final position
-
- Posts: 320
- Joined: June 26th, 2004, 10:01 am
- Location: Folsom, CA
- Contact:
This should work:
tStart = inPoint; // time to start (seconds)
tDur = .5; // time to move
yOffset = 30; // amount to move
ease(time,tStart,tStart+tDur,value+[0,yOffset],value)
Dan
tStart = inPoint; // time to start (seconds)
tDur = .5; // time to move
yOffset = 30; // amount to move
ease(time,tStart,tStart+tDur,value+[0,yOffset],value)
Dan