how to create random object in every click ex. red,green and yellow are diffrent objects . i want them to appear randomly please help me
try on click, set variable to choose(0,1,2), if variable = 0 , spawn red, if 1 spawn green if 2 spawn yellow etc
Develop games in your browser. Powerful, performant & highly capable.
thanks a lot man its worked. :)
Hi. Another way without variables. Just create the 3 objects and add them to a family. Then use create object and select the family. This will spawn a random family member. 👍