1 button shows diifernt pic each time

hi
i want to show a different picture everytime i click a button

any ideas how to set this up?

brgs n thx a lot

Sequential or randomly? Is the image on the button or a different object?

If you use a sprite with all of the images, you could change the animation number everytime either the button or the sprite was clicked.

I don’t believe there’s an easy way to change an image of a button object since it uses a panel sprite. You could use a sprite with the button behavior to make the clicking easier if it’s the button whose image is changing.

it is one button. the image is shown elsewhere. changing the animation number sounds good. i dont know how to do that.

i want to play a different sound to each image too.