Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Linear position Expression – Also

  • Linear position Expression – Also

    Posted by Bryan on January 9, 2007 at 11:32 pm

    What if you wanted to use both 4800 and -4800 for 0% and 100 and -100 for 100%? So basically an object is only 100% between 100 and -100 and 0% after 4800 and -4800.

    linear(position[2],4800,100,0,100)

    -b

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

    January 10, 2007 at 4:51 am

    This should do it:

    Math.min(linear(position[2],-4800,-100,0,100),linear(position[2],100,4800,100,0))

    Dan

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