For every button click, different image displays

Hi. I have 24 images that I want to show one a time. For every button click, I want to display another image, how can I do that? Also, in the last button click, I want to open another screen. Hope you can help me. Thank you.

Use random block from the list section

Plenty of options are there.

1 Like

Welcome to the community. Try something like this …Create a list with all images that you want to use and a global id set to 0. When button click this id is set to id+1. If id is greater than 24 then it opens new screen else image changes according to id. Hope that helps


And where are your images? In asset or as a URL?

This works. Thanks a lot.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.