expression to a slider

Moderators: Disciple, zlovatt

Post Reply
horse10735
Posts: 8
Joined: March 7th, 2007, 1:45 pm

i'm doing a card flip like u see at games. the crowd flipping cards over to see a pic on the other side. I have everything working great the only thing is i have expressions on my postion, scale and orientation to give it some wiggle animation. I really don't want to copy and paste the code to 300 layers and if changes come down from client its gonna be a pain to change all those layers. How can set up a slider with different x,y,z values and have all the other layers just take that value. I don't wanna expression to otner layers position...i want my wiggle just to take the X,Y,Z values I set.

This i hope will allow me to set up 2-3 different sliders with different values and just have to make changes to those and everything else changes. I don't have the time to go into everylayer and change its values.
pdeb
Posts: 21
Joined: November 7th, 2006, 2:07 pm

Edit - Copy Expression Only - this will allow you to migrate an expression from a single layer to multiple selected layers. Do this for each property.
Yenaphe
Posts: 84
Joined: February 3rd, 2009, 6:30 pm
Location: Paris - France
Contact:

just create a null with 3 sliders from expression control.

then in each layer wiggle expression type: wiggle(thisComp("yourNullLayer").slider1.cursor,thisComp("yourNullLayer").slider2.cursor);

then you'll just have to adjust your slider to control your wiggle;
Post Reply