Forum Replies Created

  • Stephen Dixon

    September 18, 2020 at 2:18 am in reply to: Mute Audio at Markers Expression

    A little bit hard to understand what you’re asking. Maybe explain exactly what you want to do.

  • Stephen Dixon

    September 14, 2020 at 6:02 am in reply to: AE Script “Else” isn’t working

    That’s not how if()-then commands work. The syntax is
    if (expression-that-evaluates-to-true-or-false){doStuff()}else{doOtherStuff()}

    Your code has if(true) on the third line, and since true is the javascript constant boolean true the condition will always evaluate to true, so the first block of code will get executed.

    get rid of the semicolon on line 2 and all of line 3 and it should work.

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