ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

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

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jacob McGarryChanging the target layer with keyframes (thisComp.layer("CHANGE THIS LAYER OVER TIME").transform.position)
by on Jul 15, 2015 at 3:27:52 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!


Return to posts index

Kalle KannistoRe: Changing the target layer with keyframes (thisComp.layer("CHANGE THIS LAYER OVER TIME").transform.position)
by on Jul 16, 2015 at 6:50:47 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?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]