I want to program a text so, when it is clicked, it displays a random number from 1 to 5, but I don't know how to. Someone please help me!
Develop games in your browser. Powerful, performant & highly capable.
Mouse > On Text Clicked > Set Text to str( round( random(1,5) ) )
Should do just fine.
You can look in the tuts, there is alot of useful tips on using arrays.
here is one not sure if its exactly what your looking for.