Example: Start or stop wiggle at specific time
You can use any expression in place of the wiggle expression
used here, to begin and end any expression’s influence at a specific
time.
Apply the following expression
to a property to wiggle it beginning at time 2 seconds:
timeToStart = 2;
if (time > timeToStart){
wiggle(3,25);
}else{
value;
}
Apply the following expression to a property to stop
wiggling it at time 4 seconds:
timeToStop = 4;
if (time > timeToStop){
value;
}else{
wiggle(3,25);
}
Apply the following expression to a property to start
wiggling it at time 2 seconds and stop wiggling it at time 4 seconds:
timeToStart = 2;
timeToStop = 4;
if ((time > timeToStart) && (time < timeToStop)){
wiggle(3,25);
}else{
value;
}
Send me an e-mail when comments are added to this page
| Comment Report
Current page: http://livedocs.adobe.com/en_US/AfterEffects/8.0/WS22BD9B45-A813-4b13-996D-A4561D108A8C.html
Add Comment
Comments
Comments are no longer accepted for After Effects CS3. After Effects CS4 is the current version. To discuss After Effects CS3, please use the Adobe forum.