On trigger event eg every X seconds:
System create object at int(random(Z,(LayoutWidth-Z)),Y)
Where Y is the Y "height" at which you want it to spawn.
Z is half the width in pixels of the object you want to create to ensure the spawned object always fits on screen.