Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Changing the target layer with keyframes (thisComp.layer(“CHANGE THIS LAYER OVER TIME”).transform.position)

  • Changing the target layer with keyframes (thisComp.layer(“CHANGE THIS LAYER OVER TIME”).transform.position)

    Posted by Jacob Mcgarry on July 15, 2015 at 3:27 pm

    Hi all,

    I’ve got a 2d array of graphics, and I’d like the camera to change it’s position to different graphics, panning across the other graphics as it does so (so not like an instant change in position, but a movement).

    The camera is paired to a null object, and I can change the position of the null object to match a layer. However, I can’t figure out how to keyframe what layer it’s matching up to.

    Like the title says, in my head it would look something like this.

    thisComp.layer("CHANGE THIS LAYER OVER TIME").transform.position

    Thanks for your help!

    Kalleheikki Kannisto replied 11 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Kalleheikki Kannisto

    July 16, 2015 at 6:50 am

    I would simply keyframe the null and copy/paste the position data to the keyframes. That way you retain control of timing and sequence. You can add a smooth expression to the null to make the camera move smoothly.

    Any specific reason to do that differently?

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