Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How to simplify it for the user to setup following expression

  • How to simplify it for the user to setup following expression

    Posted by Richard Rosenman on November 7, 2021 at 2:57 pm

    Hi gang. In some previous posts I read, Dan pointed out this expression which is exactly what I needed to link a point parameter to a null, and then be able to then link the null to a layer:

    l = thisComp.layer(“Null 1”);

    l.toWorld(l.anchorPoint);

    My question is, to make this setup less cumbersome for the user, is there a hotkey that can be pressed when constraining using the pick whip so as to avoid making the user type it in? Or perhaps, can it be selected from the expression language menu?

    Basically, any suggestions on how to make this setup more user-friendly would be appreciated so that the user doesn’t have to go in and manually type this. This is for a native plugin I am creating and they do not have the ability to inject expressions. I also don’t want to create a separate script just for this.

    Thanks,

    -Richard

    Trent Armstrong replied 4 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Trent Armstrong

    November 8, 2021 at 2:14 pm

    Richard,

    I’m not sure I fully understand your use case, but it could be possible to insert the expression yourself and have it linked to an Expression Layer Control Effect. That way the user would only be required to select the appropriate layer.

    Trent

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