Dan, thank you for trying to help me with this.
I realize now however that I forgot to mention a crucial part of my problem.
What I really need is an expression that will duplicate a layer so I won’t have to do it manually.
To be more precise, it is exactly what was mentioned in this thread:
https://forums.creativecow.net/readpost/227/9041
Your answer to that thead was that it isn’t possible unless one were to use the shape repeater. Luckily in my case all of the layers I want to duplicate are in fact shapes. The only problem left is to make them randomly appear across the screen.
I can think of it as several shapes swooping by sideways that leave duplicates as a trail. And on top of that, each one of those shapes have a wiggle applied which affects their velocity.
Wow that sounds really confusing, and I’m starting to question if the amount of work required is worth such a small effect. I might just resort to using your first expression instead, since it basically did the trick only without the random velocity. But either way, thank you for your time.