Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Target “other properties” for an keyframe easing script.

Tagged: 

  • Target “other properties” for an keyframe easing script.

    Posted by Ralph Moreau on September 1, 2021 at 5:13 pm

    Hi all,

    So I’ve created easing script that can ease all properties rot,sca,pos,opa. But How do you “target” the “effect properties” and other special ones.

    eg this is my rotation:

    var rotmod = activeLay.layer(p).property(“Rotation”); // rot layer module of active

    var curRotKeyIn_in = activeLay.layer(p).rotation.keyInTemporalEase(r)[0].influence;

    var curRotKeySp_in = activeLay.layer(p).rotation.keyInTemporalEase(r)[0].speed;

    var curRotKeyIn_out = activeLay.layer(p).rotation.keyOutTemporalEase(r)[0].influence;

    var curRotKeySp_out = activeLay.layer(p).rotation.keyOutTemporalEase(r)[0].speed;

    var uniEaseRot = new KeyframeEase(0,(curRotKeyIn_in += 70));

    var uniEaseRot = new KeyframeEase( 0 ,(curRotKeyIn_out += 70));

    rotmod.setTemporalEaseAtKey(r,[uniEaseRot],[uniEaseRot])

    Ralph Moreau replied 5 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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