top of page

Turn on/off expressions

  • Admin
  • Mar 15, 2019
  • 1 min read

Few methods how to turn on\off expressions:

1. (not te best way, but can help in some cases). You can convert the expression to keyframes by selecting the property with the expression and then chooseAnimation > Keyframe Assistan > Convert Expression to keyframesOnce this is done, the expression is disabled and you can take whatever frame you want and make it whatever value you want, and it will be keyframed. You can just delete any keyframes you want as well.

2. You apply a Checkbox Control effect to your layer and add this position expressioncontrol = effect("Checkbox Control 1")("Checkbox") ;

if (control == 1){wiggle(10,50); // your expression goes here

}else

{value;

}

Now set keyframes for the Checkbox effect.

3. The best one. Has most control and super easy. For example we need to turn on/off wiggle.

Tie either Frequency or Amplitude of the wiggle to a slider, then keyframing the slider. Zero as a keyframes kills the wiggle dead, a positive value down the line builds to the wiggle gradually. To keep it Zero until the next positive keyframe make the "0" kayframe a Hold Keyframe (right click the keyframe). In case you don't know how: wiggle (5,20) highlight (select) the 5 (Frequency), then pickwhip to a slider stopwatch(Effect>Expression Controls>Slider Control) and you have an expression like this: wiggle (effect("Slider Control")("Slider"),20) Setting keyframes with the slider now puts you in complete control. Full tilt wiggle or slowly build to your wiggle/taper off to zero.

 
 
 

Comments


bottom of page