Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions How do you target a LOWER property within the same shape layer?

  • How do you target a LOWER property within the same shape layer?

  • Dean Mellis

    August 29, 2017 at 5:35 pm

    I have a series of lines that I want to offset horizontally. Each line is in a group. When I tried to put all the line groups in to a new group called lines, I could not figure out how to target the previous line position. Here is the expression I have that works before I tried to put all the line groups into the new group “lines”. I haven’t used this expression in a while and I have to admit I don’t understand ” thisProperty.propertyGroup(2)(2)(1) “.

    Any help is appreciated. I’ve found no coherent explanation targeting lower levels within a layer.

    theNextIndex = thisProperty.propertyGroup(2).propertyIndex + 1;
    theNextGroupIndex = thisProperty.propertyGroup(3).propertyIndex + 1;
    xPos = thisComp.layer(index).content(theNextIndex).transform.position[0] + thisProperty.propertyGroup(2)(2)(1).size[0] + effect("buffer")("Slider");
    yPos = value[1];
    [xPos, yPos];

  • Andrei Popa

    August 29, 2017 at 8:55 pm

    In thisProperty.propertyGroup(2)(2)(1), the numbers are to replace the name of the properties. Things like the group name, “Transform”, “Position”. If you download the gimmePropPath script from and play a little bit with it, you may understand exactly how this works. The script has option for both number and name path.


  • Dean Mellis

    August 30, 2017 at 8:43 pm

    Thank you for this. I will check it out later. I can’t imagine why Adobe doesn’t look at this and incorporate some of these great scripts. I might have to write to Dear Adobe again.

  • Dean Mellis

    August 2, 2021 at 5:30 pm

    This many years later. I search for help with the same issue, get my own question and remain as far from an answer as I ever was. Sadly, this plugin’s website is gone. Does anyone have this plugin? It was free and there’s no way to get shape layer targeting help. No one seems to even cover the topic in detail.

  • Andrei Popa

    August 3, 2021 at 7:32 am

    Here is a link with redefinery scripts. You can access them from once the website is online again. I hope this is ok with moderators since I don’t want to achieve any advantage from them and the main free source is offline.

  • Dean Mellis

    August 3, 2021 at 5:21 pm

    Thanks so much. I think the Gimme Prop Path and Gimme Prop Info may help me get some relative references. I was already able to refer to a parameter two levels up and two levels down which I’ve never been able to do before.

  • Tomas Bumbulevičius

    August 5, 2021 at 6:47 am

    What I noticed with shapes – they have some “hidden” parameters which are not seen through a UI GUI and are hard to logically understand.

    With Gimme Props try to selecting different depth params and you will see what I mean – this especially relates to “Contents”.

  • Dean Mellis

    August 5, 2021 at 12:55 pm

    I believe it.
    In my dreams I can pick whip to a shape layer property while holding down alt and get a relative target path.

Viewing 1 - 8 of 8 posts

Log in to reply.

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