Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions How use seedrandom and if expressions?

  • How use seedrandom and if expressions?

  • Ming Hsu

    January 7, 2021 at 3:39 pm

    i have a composition son include 14 pictures,
    and every second i put a photo.
    At main composition i write a expression` on “Time Remap”.
    i make random picture success,
    but I can’t specify the picture.
    I use “Slider Control1” control random pics is less than 14,
    and is greater than 14 i can use”Slider Control 2″ specify i want pics.
    But it doesn’t wok 🙁

    X = seedRandom(thisComp.layer(“Null 5”).effect(“Slider Control1”)(“Slider”), timeles = 1)

    if ( X < 14){



    thisComp.layer(“Null 5”).effect(“Slider Control 2”)(“Slider”)


  • Dan Ebberts

    January 8, 2021 at 9:37 pm

    I haven’t tested this, but I think it would be more like this:

    X = thisComp.layer("Null 5").effect("Slider Control1")("Slider");

    if ( X < 14){




    thisComp.layer("Null 5").effect("Slider Control 2")("Slider")


Viewing 1 - 2 of 2 posts

Log in to reply.

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