-
Move layer to position of another random layer each second
I’ve gotten this far and am getting a divide by zero error. I have 41 layers named “profile_bubble_#”. I am trying to move the z position of a Particular emitter randomly to one of those 41 layers each second. The transition needs to be immediate like a hold keyframe. Please save me Dan!
seedRandom(Math.floor(time), timeless = true);
layerNum1= Math.floor(random(1,41));
'thisComp.layer("profile_bubble_' + layerNum1 + '").transform.position[2]'