Forum Replies Created

Page 2 of 5
  • Hey Jeff,

    Thanks for your explanation. We can’t change the keyframe value via expression. However, we can get what you want without even including keyframes.

    You can try this on your masterNull’s position without keyframes on any layers. “TRICODE” should be a layer control effect applied to the masterNull.

    var target = effect("TRICODE")("Layer"); var lip = thisLayer.inPoint;

    linear(time, lip, lip+framesToTime(30), value, target.transform.position);

    It should work for scale as well. Just change transform.position to transform.scale. Let me know if it works! 🙂

  • Do all your comps have the same frame rate? Sometimes they cause problems if they aren’t the same.

  • Hi Jeff, I would love to help you out but I don’t really understand your explanation. Are you trying to create an expression on Null1 that moves from its origin to Null2’s position? And I have no idea why are you using scale in your expression.

    Perhaps you can try linear(time, 0,2,value,thisComp.layer(“Null2).transform.position); on Null1’s position if you want. If not, could you better explain what are you trying to solve?

  • Meng Zhiqun

    November 16, 2021 at 4:29 am in reply to: Use script to freeze on last frame for 2 seconds

    You can try this. if targeting layers is required, select them before executing the script. If not, use this without selecting any layers.

    var projComp = app.project.activeItem;

    var selLay = projComp.selectedLayers;

    var addTime = 2;

    function addCompTime(item){

    if(item.timeRemapEnabled == false){

    item.timeRemapEnabled = true;

    item.outPoint = item.outPoint+ addTime;

    }else{

    item.outPoint = item.outPoint+ addTime;

    }

    }

    app.beginUndoGroup("setOutPoint");

    if(selLay.length > 0){//Select layers in comp

    for(var i = 0; i < selLay.length; i++){

    var curLay = selLay[i];

    try{

    addCompTime(curLay);

    }catch(e){

    curLay.outPoint += addTime;

    }

    }

    }else{

    projComp.duration += addTime;

    for(var i = 1; i <= projComp.numLayers; i++){

    var curNSLay = projComp.layer(i);

    if(curNSLay.source.typeName != "Composition"){

    curNSLay.outPoint += addTime;

    }else{

    addCompTime(curNSLay);

    }

    }

    }

    app.endUndoGroup();

  • Expressions can only be applied to properties which can be animated. So I’m not sure if it’s as how you think it to be sadly.

  • Meng Zhiqun

    November 15, 2021 at 3:34 pm in reply to: Precise metaballs animation technique

    You can make each individual circle larger and use a simple choke on an adjustment layer or its comp

  • Meng Zhiqun

    November 9, 2021 at 4:55 am in reply to: Issue with Overlay Effect

    Would you be able to better state what you are trying to solve? The blending modes in ae behaves the same way as those in photoshop. So I don’t know what’s your question or issue.

  • Meng Zhiqun

    November 9, 2021 at 4:53 am in reply to: New After Effects user needs help!

    1. You need to enable continuous rasterize.

    2. You need to change your renderer for that comp to cinema 4d renderer. You can access that by Ctrl K or Cmd K, 3D renderer.

  • Meng Zhiqun

    November 8, 2021 at 5:09 pm in reply to: Powering off an effect in several compositions
  • Meng Zhiqun

    November 2, 2021 at 7:49 am in reply to: exchange precomps in multiple comps (1500 comps)

    Thanks for letting me know! I’m not sure if that’s a problem with scripting tho. I’ve only ever once exceeded more than 1000 layers in after effects in a single comp and when it exceeds 1000, after effects started getting cranky.

Page 2 of 5

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