Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression to change mask path positions

  • Eric Goldstein

    September 16, 2009 at 11:26 pm

    Hi, I tried this:

    The manual says that expressions can’t be used directly to affect a mask path, but that mask path can be linked to other properties to affect it. So, I made a layer called Mask Repo 1 and pickwhipped the mask path of mask 1 to the position property of layer: Mask Repo 1. I was hoping then “to change the position on Mask Repo 1 to globally reposition the keyframes of Mask Path 1. But, I get an error message, which says: AE warning: “Object of type 1024 found wheer a Property is needed.”

    This is the expression produced by pickwhipping the position property of Mask Repo 1: “thisComp.layer(“Mask Repo 1″).transform.position[0]”

    Any thoughts?

    Thanks,

    Eric

    thisComp.layer("Mask Repo 1").transform.position[0]

    Eric Goldstein
    Giraffe Film Company
    Los Angeles
    eric@giraffefilm.com

  • Xinlai Ni

    September 16, 2009 at 11:40 pm

    I think you can only pickwhipping maskPath property to the same type, not a position type which is a vector of dim 2 or 3.
    And by my understanding of AE’s manual, you can’t access any internal properties of maskPath numerically but you can
    – pickwhipping to other maskPath, or
    – copy your maskPath to a some position property to create a motion path

  • Dan Ebberts

    September 17, 2009 at 12:53 am

    You can link a mask path to another mask path. That’s pretty much it.

    Dan

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