-
control X and Z position
hello
I have an expression that distributes all my layers on the x axis.
gap = thisComp.layer("Null 1").effect("Slider Control")("Slider");
startingPos = [ 0, 240, 0 ];
//--
dispVec = [10, 0, 0];
i = index - 10;
startingPos + (i * gap * dispVec)now I would like to have an extra slider where I can control the
Z position of these layers.but since I’m very bad at this, I can’t seem to adapt the script to also make it work for the Z axis. whenever I get it to work for Z it breaks the X. can anyone help me out with this? thank you.
greetings