ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Wiggle Slider control

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Kurisuta vd Wilk
Wiggle Slider control
on Feb 18, 2020 at 7:08:52 pm

Hello!

Normaly the most simple thing ever.

1. Add a wiggle to a layer position or rotation ( ex. wiggle (10, 40 )
2. Expression pigwhip 10 to a slider control > slider works
3. Expression pigwhip 40 to a slider control > slider doesnt work

The second digit gives an error!
I can not figure it out!!

Anyone an idea?


Return to posts index

Kyung Ko
Re: Wiggle Slider control
on Feb 18, 2020 at 9:16:41 pm

Try this...

freq = thisComp.layer("Your Layer").effect("Slider Control 1")("Slider");
amp = thisComp.layer("Your Layer").effect("Slider Control 2")("Slider");
wiggle(freq, amp)


Return to posts index

Kurisuta vd Wilk
Re: Wiggle Slider control
on Feb 19, 2020 at 10:13:38 am

Yes this works! Thanks. Will dive more into writing it myself, I got used to relying on the pigwhips.

Merci


Return to posts index

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