Generate levels

Hi i’m pretty new to corona i’v been looking at the docs. but i can’t seem too find anything  i also looked on the forums and can’t find anything. How would you generate random newRect everytime you start the game? 

Thanks in advance sorry if i’m not giving much info

random newRect?

random amount? random size? random positioned? random Colored? random Dancing the chacha?

:wink: please be more specific.

essential for any of the above (except the chacha one) is
math.random
http://docs.coronalabs.com/api/library/math/random.html

random newRect?

random amount? random size? random positioned? random Colored? random Dancing the chacha?

:wink: please be more specific.

essential for any of the above (except the chacha one) is
math.random
http://docs.coronalabs.com/api/library/math/random.html