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

52

Likes

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
Adobe Community Professional ,
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

Likes

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
Adobe Community Professional ,
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

Likes

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