Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Changing layer’s label color via script

  • Dan Ebberts

    March 16, 2021 at 12:53 pm

    If you mean just change the label color to one of the pre-defined colors, you can do it like this:

    var myLayer = app.project.activeItem.layer(1);

    myLayer.label = 2; // yellow

  • Tom Pinnes

    March 16, 2021 at 12:59 pm

    I have no idea why it worked with your code but failed in mine.. I tryed myLayer.label =2; but for some reason it failed.. Anyway thanks so much

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