List of images in blocks section

What I need to do is have a list of images, where pressing a button picks a random one and displays it for the user. Is there any possible way to do this?


  • Make a list of the images
  • For the button click event, use the Maths random block to select a number from 1 to the length of your image list
  • Use that number as an index to select the image from the list
  • Display that image