Greets everyone, i was wondering how to code a clickable button to show different images with each click but in order. Ex: click 1 show image SETUPa.PNG. sECOND CLICK SHOW IMAGE setup2.png and so on.
Here is what i achived so far (image to change with first click) but cant find a tutorial with the answer to make the progression.
Use a variable called itemNum to store the list item # and set it to 1 to begin with. Each time the button is clicked, change the itemNum variable by 1 and set the image’s picture to item #[itemNum] of list setup.