Skip to main content
Inspiring
October 26, 2021
해결됨

Go Up One Level in the Property Hierarchy Using Variation of "thisProperty"

  • October 26, 2021
  • 1 답변
  • 337 조회

I have a Position text animator applied to a text layer and want to use the End range value as a variable on the Position property within the Animator (not the Position property of the layer). I don't want to name the layer or Animator explicitly so I can duplicate it and not have to edit.

 

So in my screenshot (below), I have the variable declaration:

multiplier=thisProperty.selector("Range Selector 1").end

But I realize "thisProperty" points to the Position property because that's where the expression is. Is there varition on "thisProperty" to say "go up to the next property in the hierachy"

 

 

I hope that makes sense. Thanks

이 주제는 답변이 닫혔습니다.
최고의 답변: Dan Ebberts

You use propertyGroup() to go up the hierarchy. Try it this way:

multiplier = thisProperty.propertyGroup(2).selector("Range Selector 1").end;

 

1 답변

Dan Ebberts
Community Expert
Community Expert
October 27, 2021

You use propertyGroup() to go up the hierarchy. Try it this way:

multiplier = thisProperty.propertyGroup(2).selector("Range Selector 1").end;

 

Amozza작성자
Inspiring
October 27, 2021

Thanks Dan. It works perfectly!