-
Random Y-axis value with expressions
I am just starting to use more expressions. At the moment i am trying to create an array of lights the width of the comp but only one light in the y-axis. I am trying to use the expression to create a random value for each light only in the y-axis while the x-axis position remains the same. However, when i apply the expression for some reason all of the x-values are randomized as well.
seedRandom(1,true);
[transform.position[0],random(0,this_comp.height)];