How to make a sprite random choice system

how to call a random sprite for example sprite 1, sprite 2, sprite 3
choose one of the three and position it somewhere random on the map

Something like this?

Here is the same code written using arrays:

3 Likes

yes thanks

thanks richard the code worked