Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Value increase with active layer.

  • Andrei Popa

    January 9, 2020 at 8:04 am

    This starts at the value that you initially set for the property. Then increases with valuePerLayer each time an active layer is found.


    valuePerLayer = 100;
    val = value;
    C = comp("Clips");
    for (i = 1; i <= C.numLayers; i++){
    if (C.layer(i).active){
    val += valuePerLayer;
    }
    }
    val

    Andrei
    My Envato portfolio.

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