I want to be able to replace multiple layers in an After Effects comp with footage/pre-comps from the project panel at random. So, say if I had a 3×3 grid of layers in my comp, the script would select 9 layers from a selected folder in the project at random to replace them. An additional (but non-essential) add-on would be that they are also randomly rotated at intervals or 90 degrees (so, 0, 90, 180, 270). I have been achieving this manually, but I have a big project on where I need to do a lot of these, so could do with some automation, plus the randomisation is a big pull for me. Any help or point in the right direction would be much appreciated.