Forum Replies Created

Page 1018 of 1081
  • You did apply the slider to the layer with the expression, correct?

    DAn

  • You did apply the slider to the layer with the expression, correct?

    DAn

  • Dan Ebberts

    June 21, 2006 at 12:15 am in reply to: Wiggle Expression for Individual Properties

    I think you’re looking for something like this, which uses “freq” and “amp” sliders on Null 1 to determine the wiggle for x and y:

    freq = thisComp.layer(“Null 1”).effect(“freq”)(“Slider”);
    amp = thisComp.layer(“Null 1”).effect(“amp”)(“Slider”);
    w = wiggle(freq,amp);
    [w[0],w[1],value[2]]

    Dan

  • Dan Ebberts

    June 21, 2006 at 12:15 am in reply to: Wiggle Expression for Individual Properties

    I think you’re looking for something like this, which uses “freq” and “amp” sliders on Null 1 to determine the wiggle for x and y:

    freq = thisComp.layer(“Null 1”).effect(“freq”)(“Slider”);
    amp = thisComp.layer(“Null 1”).effect(“amp”)(“Slider”);
    w = wiggle(freq,amp);
    [w[0],w[1],value[2]]

    Dan

  • Dan Ebberts

    June 15, 2006 at 1:48 pm in reply to: Help with Expression

    Yes, the value of the last statement executed gets assigned to the parameter that the expression is applied to. It doesn’t even need to be an assignment statement – it can just be a number. This would work the same way:

    if (thisComp.layer(“Object A”).scale[0] < 30){ 0 }else{ 100 } Or even more compactly: if (thisComp.layer("Object A").scale[0] < 30) 0 else 100; Dan

  • Dan Ebberts

    June 15, 2006 at 1:48 pm in reply to: Help with Expression

    Yes, the value of the last statement executed gets assigned to the parameter that the expression is applied to. It doesn’t even need to be an assignment statement – it can just be a number. This would work the same way:

    if (thisComp.layer(“Object A”).scale[0] < 30){ 0 }else{ 100 } Or even more compactly: if (thisComp.layer("Object A").scale[0] < 30) 0 else 100; Dan

  • Dan Ebberts

    June 13, 2006 at 7:27 pm in reply to: multiple expression controls under one control?

    If you don’t want to rename them, you can access them by thier order in the effect stack, like this:

    a1 = comp(“main”).layer(“controller”).effect(1)(“Angle”);
    a2 = comp(“main”).layer(“controller”).effect(2)(“Angle”);

    Dan

  • Dan Ebberts

    June 13, 2006 at 7:27 pm in reply to: multiple expression controls under one control?

    If you don’t want to rename them, you can access them by thier order in the effect stack, like this:

    a1 = comp(“main”).layer(“controller”).effect(1)(“Angle”);
    a2 = comp(“main”).layer(“controller”).effect(2)(“Angle”);

    Dan

  • Dan Ebberts

    June 13, 2006 at 5:39 pm in reply to: animating expression on/off

    On way is to apply a checkbox control to your layer, keyframe the control on and off, and add an expression like this to your property:

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

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

    Dan

  • Dan Ebberts

    June 13, 2006 at 5:39 pm in reply to: animating expression on/off

    On way is to apply a checkbox control to your layer, keyframe the control on and off, and add an expression like this to your property:

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

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

    Dan

Page 1018 of 1081

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