Here's my solution. This makes it so they always spawn at a random position outside the stage.
The distance variable is so you can quickly specify the distance from the stage you want them to spawn. I set it to 20 just for demonstration purposes.
Here's the project with this new code Snap! Build Your Own Blocks