Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Combine two sliders?

  • Combine two sliders?

    Posted by Don Jobs on October 27, 2016 at 8:28 pm

    Hi,

    please be gentle ;)… I’ve searched and searched but I don’t get it….

    I need two sliders (s1 and s2) in the same time… If s2 could override s1 that would be ok…

    And here it is:

    s1 = thisComp.layer(“Null 4”).effect(“Slider Control”)(1);
    s2 =thisComp.layer(“Null 4”).effect(“Slider Control 2”)(1)
    x1 = linear(s1,0,100,key(1).time,key(2).time)
    x2 = linear(s2,0,100,key(2).time,key(3).time)
    valueAtTime(x1) hm????
    valueAtTime(x2) hm????

    I would like to have control in animation between 1. and 2. keyframe (Slider 1) and 2. and 3. keyframe (Slider 2). So, two sliders working together like this:

    if s1 = 0 (keyfame 1 active)
    if s1 = 100 (keyfame 2 active)

    if s2 = 0 (keyfame 1 or 2 active)
    if s2 = 100 (keyfame 3 active only)

    Thank you all so much for all the help here 🙂

    Don Jobs replied 9 years, 6 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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