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

What's wrong with this expression?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
JonZ MarZWhat's wrong with this expression?
by on Oct 7, 2012 at 4:13:41 am

temp = thisComp.layer("Null 11").transform.position[0];
[temp, temp]thisComp.layer("Null 11").transform.position[1]


I try to link with the pickwip the position of X and Y of a comp to a null object and there's an error poping when I link the Y coordinate or second coordinate.

The error: Expected: ;
Error occured at line 2
Property: 'position'

I'm stuck, this is an easy one usually, but for unknown reason it doesn't work. I tried to put a ; at the end of the line 2 and still doesn't work.


Return to posts index
Reply   Like  

Dan EbbertsRe: What's wrong with this expression?
by on Oct 7, 2012 at 4:59:34 am

Why are you linking x and y separately? Doesn't this work?

thisComp.layer("Null 11").transform.position;


Dan



Return to posts index
Reply   Like  

JonZ MarZRe: What's wrong with this expression?
by on Oct 7, 2012 at 5:05:31 am

You are right, I've been picking the wrong data! I needed to pickwip the word position instead. Totally forgot that *shame*

thanks!


Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

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

[Top]