When i do create object it only lets me put in a sprite
Develop games in your browser. Powerful, performant & highly capable.
Use random expression and set a range of a numbers for it. So if you get, for example, between 10 and 100 you spawn an object, if you get between 101 and 201 then spawn other object.