Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Change control from expression to keyframe

  • Change control from expression to keyframe

    Posted by Rob Mize on January 18, 2011 at 10:48 pm

    I am controlling the position of several layers via a simple pickwhip expression to a null. I would like one layer to divorce itself from the expression control and then respond to keyframe control, then resume control by expression. This change of control from expression to KF to expression would occur 5 or 6 times during the duration of the timeline. Any thoughts and ideas are greatly appreciated.

    Rob Mize

    Kevin Camp replied 15 years, 3 months ago 2 Members · 4 Replies
  • 4 Replies
  • Kevin Camp

    January 18, 2011 at 11:01 pm

    you may be able to key frame a checkbox control and have the expression toggle between expression and keyframe value based on whether the checkbox is true or false…

    if (effect("Checkbox Control")("Checkbox")==true){
    // expression here
    }else{
    value;
    }

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Rob Mize

    January 19, 2011 at 4:09 pm

    Kevin…
    Thanks very much for the response, I’ll give it a try and let you know the result.
    BTW: Another thanks for your expressions converting comp position to particular position… that has been quite useful for me.
    Regards…

    Rob Mize

  • Rob Mize

    January 20, 2011 at 4:55 pm

    Kevin…
    You did it! Your expression works like a charm… very helpful in tackling a difficult project. You’re not only a problem solver, but an inspiration as well. I hope to include this expression in an upcoming tutorial.
    Thanks again.

    Rob Mize

  • Kevin Camp

    January 20, 2011 at 5:27 pm

    cool, glad i could help.

    expression are fun things, but controlling them can sometimes be challenging, and the math and programming skills needed to figure out an algorithm to get the control needed is often beyond me. that;s when those extra expression control effects are really handy.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

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