Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by ‘SMR 겜댕 on February 7, 2021 at 8:26 pm

    <pre data-placeholder=”번역”>Hello everybody
    First of all, I am not good at English, so I want to know even if I turn the translator.
    I’m trying to make some expressions, but it’s not working well, so I’m leaving

    When using, activate it with a checkbox
    I want to use an expression that can give the scale value to 100 when the x and y values ​​of the scale are individually adjusted with a slider and unused, so when the checkbox is cleared.
    I don’t know how

    If you can tell me, it will be very helpful.

    Below is the expression I wrote I hope you can tell me the correct answer

    x = thisComp.layer(“Effect”).effect(“Twiggle_Time”)(“slider”);

    y = thisComp.layer(“Effect”).effect(“Twiggle_Value”)(“slider);

    [x ,y]

    if(thisComp.layer(“subtitle”).effect(“checkbox control”)(“check”))true; else

    Dan Ebberts replied 5 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    February 7, 2021 at 9:17 pm

    I’m not sure, but maybe like this:

    if(thisComp.layer("subtitle").effect("Checkbox Control")("Checkbox").value){

    x = thisComp.layer("Effect").effect("Twiggle_Time")("Slider");

    y = thisComp.layer("Effect").effect("Twiggle_Value")("Slider");

    [x ,y];

    }else

    value;

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