Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions moving markers with an expression

  • moving markers with an expression

    Posted by Ido Shor on September 5, 2016 at 12:28 pm

    Hey,

    I was thinking to myself that it could be handy to be able to control the location of a Marker on the timeline with an expression . That marker could be set to be a trigger for an animation, like Dan shows in his great blog.

    is such a “reverse engineering” even possible?

    if no, is there another way to trigger an animation with a “checkbox”? instead of a marker?

    Thanks!
    Ido.

    Ido Shor replied 9 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 5, 2016 at 2:05 pm

    Expressions can’t move anything in the time line. You could certainly use checkbox keyframes (any keyframes actually) as triggers, and the code is very similar to the way you use markers. With checkboxes, it depends on whether you want to use both the “On” and “Off” states as triggers and if you want them to both trigger the same action. I’m not sure what advantage they would have over markers though.

    Dan

  • Ido Shor

    September 5, 2016 at 3:46 pm

    The main reason is that I if I build a Controller Layer/panel, which in I contain all the animation controls I need for a certain comp, then it’s comfortable (in my mind anyhow) if I would have also control over the timing of certain animation from the same panel.

    regarding what you said, I guess I can use a Checkbox which in the “On” phase is the beginning of the animation. At the same time I can also use a slider control to decide on the exact frame in which I want the animation to start.

    if you have a spare moment I will be happy if you could revise your code to achieve the same result but using a checkbox/slider instead.
    (I tried myself and failed…)

    cheers, Ido.

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