Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesCreative Cloud DebateFAQ

Re: Expression to display keyframe values?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Dan EbbertsRe: Expression to display keyframe values?
by on Feb 15, 2012 at 9:16:07 pm

Using a text layer source text expression, you can format it however you want. For example, you could track Layer 1's position property like this:

myProp = thisComp.layer("Layer 1").transform.position;
"X = " + myProp[0] +"\rY = " + myProp[1]


To get a manageable number of decimal places, you could add toFixed(), like this:


myProp = thisComp.layer("Layer 1").transform.position;
"X = " + myProp[0].toFixed(1) +"\rY = " + myProp[1].toFixed(1)



Dan



Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]