Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Setting Opacity based off of z position

  • Setting Opacity based off of z position

    Posted by Bryan on January 7, 2007 at 10:40 pm

    Once again, I’m here to bug.

    I need a script that will set a layer’s opacity based off of a range of z position. So, say, 2000 z or higher is zero opacity, and 500 z or lower is 100 percent opacity (bearing in mind that the z might then go past zero into -z).

    Thanks.

    -Bryan

    Dan Ebberts replied 19 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    January 8, 2007 at 1:13 am

    linear(position[2],500,2000,100,0)

    Dan

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