Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Set Distortion mesh value of Mesh warp effect by script

  • Set Distortion mesh value of Mesh warp effect by script

    Posted by Vitaly Balikov on June 6, 2019 at 4:30 pm

    Hello guys,
    I am trying to drive Distortion mesh value of Mesh warp effect by script:

    but last line get error: Can not get or set a value from this property….. This propertyValueType CUSTOM_VALUE has not been implemented.

    I can’t believing… It so sad….
    Is there way to drive by distortion mesh by script or expression?
    Please help

    var comp = app.project.activeItem;
    var layer = comp.selectedLayers[0];

    var effects = layer.property("ADBE Effect Parade");
    var eff = effects.property("ADBE MESH WARP");
    var DM = eff.property("ADBE MESH WARP-0004");
    var va = DM.value;

    Filip Vandueren replied 4 years, 11 months ago 3 Members · 3 Replies
  • 3 Replies
  • Jacob Resch

    June 1, 2021 at 9:36 am

    Hey Vitaly,

    did you find a solution to this? Having the exact same problem. Or i also want to drive the distortion mesh with expression.

  • Filip Vandueren

    June 1, 2021 at 1:10 pm

    The only thing you can do with expressions of custom properties is valueAtTime();

    The only thing you can do via scripting is apply Animation Presets, there’s no access to the actual values inside those properties.

  • Filip Vandueren

    June 1, 2021 at 1:11 pm

    Sometimes you can get away with doing the effects with the bezier warp effect, those parameters are all just 2D positions and can be easily adjusted with scripts and expressions.

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