Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Participant ,
Oct 26, 2021 Oct 26, 2021

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"

 

Amozza_1-1635279525265.png

 

I hope that makes sense. Thanks

TOPICS
Expressions
219
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 26, 2021 Oct 26, 2021

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

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

 

Translate
Community Expert ,
Oct 26, 2021 Oct 26, 2021

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

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

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2021 Oct 27, 2021
LATEST

Thanks Dan. It works perfectly!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines