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

Using expressions can the "text" property of a text layer read a transform value of its position.

New Here ,
Mar 23, 2022 Mar 23, 2022

Copy link to clipboard

Copied

Using expressions can the "text" property of a text layer read a transform value of its position. 

 

In other words I want to display transform data (x,y, z) of a tracking point on top of footage at that point as that point moves... As a form of data vizualization of tracking points.

TOPICS
Expressions , How to

Views

100

Translate

Translate

Report

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
Valorous Hero ,
Mar 23, 2022 Mar 23, 2022

Copy link to clipboard

Copied

What do you mean by "text property" of a Text Layer?

 

If you want to display, in the Comp Panel, the values/data for a layer, say, Layer>Transform>Position then all you have to do is drag that property, from the timeline into the Comp Panel.  

HTH

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

Votes

Translate

Translate

Report

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
LEGEND ,
Mar 24, 2022 Mar 24, 2022

Copy link to clipboard

Copied

LATEST

Could be as trivial as inserting a 

 

mRef=thisLayer.transform.position;

mRef[0]+\r+mRef[1]+\r+mRef[2]

 

into the source text property. Of course you may need some extra code to not end up with endless number salad like adding toFixed() or a rounding function for the decimals, but as Roland already said, that would require a better explanation of what you are actually trying to do.

 

Mylenium

Votes

Translate

Translate

Report

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