FORUMS: list search recent posts

Stopping the wiggle expression after a few second.

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ruo Zheng
Stopping the wiggle expression after a few second.
on May 17, 2019 at 9:08:50 pm

Hey everyone,

I just starting learning about expressions and currently, I'm trying to make a flicker-in effect for this logo.

I have wiggle(100,100) in the Opacity property of the logo but I'm trying to stop the flicker after like 5 second into the animation.

What code should I use? I've studied C# before so my first instinct is to make an if statement and turn the wiggle into false statement after a period of time. But since AE expression uses JS so it's different (not to mention all the expression properties). Would an array be better for this?

Thanks!


Return to posts index

Andy Zou
Re: Stopping the wiggle expression after a few second.
on May 17, 2019 at 9:41:25 pm
Last Edited By Andy Zou on May 17, 2019 at 9:45:51 pm

Personally, I'd whip/tie the wiggle function to a Slider, then keyframe the slider from 100 to 0 when you want it. That way you can also "fade" the wiggle using keyframes and avoiding expressions.


Return to posts index

Dan Ebberts
Re: Stopping the wiggle expression after a few second.
on May 18, 2019 at 6:20:05 pm

This should work:

time < 5 ? wiggle(100,100) : value


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]