Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Is there a way to add easing with a slider using a index+1 value?

  • Is there a way to add easing with a slider using a index+1 value?

    Posted by Ricardo Martins on September 26, 2019 at 9:48 pm

    Hi there,

    I’m trying to make a bunch of lines reveal with trim paths in sequence.
    They all follow the movement from the main line and have a controller slider that delays each one based on the layer below, making a cascading effect.

    thisComp.layer(index+1).content(“Trim Paths 1”).end.valueAtTime((time – (thisComp.layer(“Controler”).effect(“Delay”)(“Slider”)/600)))

    Something like this
    https://imgur.com/a/yaZOEKA

    The middle one is the main, the right ones use index-1 and the left ones, index+1

    I was wondering if is there a way to add some code control the distance of each copy with a slider to give a cascading effect?
    I tried like multiplying / dividing the whole thing but then the copies wouldnt go all the way to the top of the screen.

    If you guys need to see what’s going on the .AE is here
    https://www.dropbox.com/s/hpamyhs4k3vv6gq/demo_lines.aep?dl=0

    I’m very noob on expressions and I’m really struggling with this part.

    View post on imgur.com

    Ricardo Martins replied 6 years, 10 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