Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Offset expression

  • Posted by Anthony Dupsta on June 14, 2008 at 4:57 am

    I have The Left Tangent of BezierWarp parented to a Null.
    thisComp.layer(“TopNull”).transform.position

    I want to offset the position of the Left Tangent. I have pickwhiped the Value of the Warp to a Null. I want to offset the position of the warp but the Warps Values are now locked in and I can’t offset them in the Effect pallet.
    I have tried this: thisComp.layer(“TopNull”).transform.position-50
    The -50 only moves the tangent on one axis though.

    This Null is driving other items also.

    Anthony Dupsta replied 17 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Filip Vandueren

    June 14, 2008 at 8:15 am

    Hi Anthony,

    to offset a 2-dimensional value you should use square brackets, like this:

    thisComp.layer(“TopNull”).transform.position – [50,100];

    this would subtract 50 on X-axis and 100 on the Y-axis.

    If you don’t know the exact amount, and want to scrub it, or possibly want to keyframe the offset, you can either create a Null with a 2-dimensional Point-control on it, and pickwhip to that.
    Or, use this:

    thisComp.layer(“TopNull”).transform.position – value;

    You can then enter/scrub/keyframe the ofset-value IN the property itself, wich is more compact.

  • Anthony Dupsta

    June 14, 2008 at 4:03 pm

    I am going to try all your suggestions. This answers my question perfectly.
    Thanks you for all the ideas and options.
    I will give this a shot today and see if I can get this offset working for me.
    Thanks again!

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