Skip navigation
Currently Being Moderated

Adding wiggle a property that already has expression?

Jan 18, 2012 2:29 PM

I have a pretty simple expression that connects a layer's X scale to a slider.

 

temp = thisComp.layer("Tag4").effect("Slider Control")("Slider");

[temp, value[1]]

 

How would I add a wiggle to this?

 

I tried this:

 

temp = thisComp.layer("Tag4").effect("Slider Control")("Slider");

wig = wiggle(1,10)

s = temp + wig

[s, value[1]]

 

But got an error (I guess because wiggle contains an array?)

 

I'd appreciate some suggestions.

 
Replies
  • Currently Being Moderated
    Jan 18, 2012 2:39 PM   in reply to Navarro Parker

    Try this:

     

    temp = thisComp.layer("Tag4").effect("Slider Control")("Slider");

    wig = wiggle(1,10)-value;

    [temp+wig[0], value[1]]

     

     

    Dan

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points