Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How to move timeline layers with marker?

  • Fabrice Leconte

    August 25, 2022 at 1:13 pm

    An easy way is to add an expression on the opacity property to turn off the opacity before the marker.

    time < thisComp.marker.key(1).time ? 0 :100;

    Or you can select all your layers and run this script to really move layers to the marker position

    proj = app.project;

    thisComp = proj.activeItem;

    thisComp.selectedLayers.map(function(layer){

    layer.startTime = thisComp.markerProperty.keyTime(1);

    })

  • Palak Bhatt

    August 25, 2022 at 1:59 pm

    Thank you so much for reply 🙂 very helpful

    you are just near which I want to trigger same thing when i move marker, is it possible ?

  • Fabrice Leconte

    August 25, 2022 at 3:46 pm

    With the opacity expression, you can move the marker and then it will automatically affect all your layers who have the expression on it.

    But using the script you’ll need to run the script each time you want to move selected layers to the marker position.

  • Palak Bhatt

    August 25, 2022 at 4:12 pm

    Script method best in my case but, Is there any other way to control all layer start by marker?

  • Palak Bhatt

    August 25, 2022 at 4:15 pm

    find in gif, it would be great help if is it possible thanks in advance

  • Fabrice Leconte

    August 25, 2022 at 4:47 pm

    What do you mean all layers in your composition or just layers with a specific label color?

  • Andrei Popa

    August 25, 2022 at 4:54 pm

    If you have all the layers selected, maybe go to the marker time with the timeline cursor and press “[“.

  • Palak Bhatt

    August 25, 2022 at 4:56 pm

    sorry, only specific color layers

  • Palak Bhatt

    August 25, 2022 at 4:59 pm

    thanks Andrei but I want expression on control with markers. [ will not work for me

  • Fabrice Leconte

    August 25, 2022 at 6:26 pm

    Try this script it will move your Aqua layers every times that you’ll press “move layers” button

    https://imgur.com/a/Y4DMstl

    View post on imgur.com

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