Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Turn off Opacity expression

  • Turn off Opacity expression

    Posted by Chris Craig on August 18, 2008 at 11:57 pm

    Hi Guys

    Can someone please help me with this simple script. All i want it to do is turn off the opacity of a layer (0%) from 100%, at a specific comp marker (1)

    value[0] – thisComp.marker.key(“1”).time

    Thanks guys
    Chris

    Chris Craig replied 17 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Peter O’connell

    August 19, 2008 at 3:18 am

    Hi try this expression:

    //start
    var markerTime = marker.key(“yourMarkerComment”).time

    if (time < markerTime) { 0 }else{ 100 } //end Replace yourMarkerComment in the above expression with whatever you type in the comment field of the marker. Hope this works Pete O'Connell roguekeyframe.com

  • Chris Craig

    August 19, 2008 at 3:21 am

    You little beauty!

    Cheers Pete

    I had to manipulate to read the comp marker rather than the layer marker and swapped around the opacity amounts….but it worked beautifully.

    Thank you so much

    Chris

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