Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Keyframe slider control

  • Keyframe slider control

    Posted by Dylan Smyth on March 23, 2023 at 8:57 pm

    Hi all,

    I’m trying to get a slider control on a null to control each keyframe of the position property of a separate layer. For example – if the slider control is at the value of 3 the position is at its 3rd keyframe. Is this possible?

    Brie Clayton replied 1 year, 3 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    March 23, 2023 at 9:12 pm

    Something like this maybe:

    s = thisComp.layer("Null 1").effect("Slider Control")("Slider");
    if (numKeys > 0){
    idx = clamp(Math.round(s),1,numKeys);
  • Dylan Smyth

    March 30, 2023 at 8:27 pm

    This is perfect! Thanks, Dan!

  • Brie Clayton

    March 31, 2023 at 6:24 pm

    Thank you Dan!

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