Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Turning on/off expressions at a specific keyframe?

  • Turning on/off expressions at a specific keyframe?

    Posted by Waldemar Werbel on August 25, 2006 at 7:10 pm

    Hi all.

    I have a layer with a wiggle expression applied to the position parameter. Ok, no big deal there.

    Now let’s say that I want the layer to stay still until frame 25, then wiggle for 50 frames and come to a stop at frame 75, then start wiggling again at frame 125.

    Basically I guess I’m after an expression that will enable me to turn on/off the wiggle at any given keyframe.

    Is this easily done?


    w.werbel. uk.

    https://dialspace.dial.pipex.com/town/pipexdsl/r/arar48/cv/

    Waldemar Werbel replied 19 years, 12 months ago 4 Members · 5 Replies
  • 5 Replies
  • Aharon Rabinowitz

    August 25, 2006 at 7:33 pm

    You can convert the expression to keyframes by selecting the property with the expression and then choose

    Animation > Keyframe Assistan > Convert Expression to keyframes

    Once 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.

    —————————————-
    Aharon Rabinowitz
    aharon(AT)yahoo(DOT)com
    http://www.allbetsareoff.com
    —————————————-
    Creative Cow Master Series DVD
    particleIllusion Fusion Volume 1
    available @ http://www.pIllusionFusion.com

  • Julian Sixx

    August 25, 2006 at 7:50 pm

    Hi
    ..or you apply a Checkbox Control effect to your layer and add this position expression

    control = effect(“Checkbox Control 1”)(“Checkbox”) ;

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

    Now set keyframes for the Checkbox effect

  • Mike Clasby

    August 25, 2006 at 8:00 pm

    Or…

    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.

  • Mike Clasby

    August 25, 2006 at 8:02 pm

    Glad Dan’s Creating Trails expression worked for you down below.

  • Waldemar Werbel

    August 26, 2006 at 6:41 pm

    Nice one guys. All solutions very useful!

    Top stuff.

    Thanks again.


    w.werbel. uk.

    https://dialspace.dial.pipex.com/town/pipexdsl/r/arar48/cv/

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy