Getting a new rndInt on each click

@luke_semple Yes, it’s possible. I’d first make a function that takes a number, then checks what range it falls within and returns the message/imageURL. Something like

function getImage(number){
    if(number < 1101){
    return "It was between 1080 and 1100"
    //for image you need to return the url for the image you want to display
    }
    if(number < 1121){
        return "It was between 1101 and 1120"
    }
    //and so on
}

Add a text field/image over the spinner, set it to hidden then add this to the onClick function

setInterval(() => {
    //for text:
    $w("#nameOfTextField").text = getImage(rndInt)
    //for image:
    $w("#nameOfImageField").url = getImage(rndInt)
}, 1010); //1010 because the duration of the animation is 1000