Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Why doesn’t this simple expression work?

  • Why doesn’t this simple expression work?

    Posted by Randy Mcwilson on January 18, 2009 at 4:43 am

    I am trying to increment a position by using the following:

    x=value[0]
    if (some situation){
    a=1
    }
    {else
    a=-1}
    x=x+a
    [x,100,200]

    this only makes my x value change to, lets say, 99 or 101. Why doesnt it make it continually change lower and lower, or higher and higher? I only get 2 possible x positions.

    strange.

    Filip Vandueren replied 17 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Filip Vandueren

    January 18, 2009 at 8:42 am

    Definitely one for the FAQ: this question has been answered numerous times,
    Check the thread “movement with expression” from last week for the most recent one.

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