Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Simple script question

  • Simple script question

    Posted by Rob Wolf on September 25, 2005 at 8:11 pm

    I’m trying to write an expression that allows a light to take it’s X and Y values from a camera, but not the Z. I’ve tried pickwhipping the individual values, but that doesn’t seem to work. Any ideas?

    R

    Rob Wolf replied 20 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 25, 2005 at 8:33 pm

    Try this:

    P = thisComp.layer(“Camera 1”).position;
    [P[0],P[1],value[2]]

    Dan

  • Rob Wolf

    September 25, 2005 at 8:39 pm

    Thanks Dan!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy