motion graphics eXchange

Follow a leader with delay

Thumbnail for: Follow a leader with delay
Having a bunch of layers all distributed in z space. Now the first layer starts to move towards the camera.
After Effects CS3
Useful things

Views: 12825
visit |  share this  error? 
After a specific time you want to move the second layer to move with the first one, etc.

Name the first layer "leader" and apply this expression to all the other layers position property.

Here is the expression:
//applyTo: position
L = thisComp.layer("leader");
delay = 1.5;
timeToStart = 0;
myDelay = (index - L.index)*delay;
t = time - (timeToStart + myDelay);
if (t > 0){
  delta = L.transform.position.valueAtTime(t) - L.transform.position.valueAtTime(timeToStart);
  value + delta
by Dan Ebberts

(Min. Version: After Effects CS3, Category: Useful things, Type: Expressions)
posted by Indy on Apr 20, 2010


Related topics:

Folding Template

Thumbnail for: Folding Template
folding and unfolding template free to use.
Require After Effects CS6
After Effects CS6
Projects (aep)

Views: 33948
posted by fsimoni on Nov 05, 2012

Product, Service or App Promotion

Thumbnail for: Product, Service or App Promotion
After Effects Template. Promote your app, product or service
After Effects CS5
Useful things
Projects (aep)

Views: 16264
posted by RedSpikeFx on Oct 30, 2012

Clean Logo V2

Thumbnail for: Clean Logo V2
After Effects CS4,CS5,CS5.5 and CS6 template logo reveal
After Effects CS4
Projects (aep)

Views: 20448
posted by aedaddy on Aug 19, 2012



follow us on in touch on facebook



Full length video training series presented by motion graphics industry professionals. Click here to visit Motionworks website!