Multiple button press

I have a list of numbers, and I want to set the Label text to the first item in the list when I press the button the first time, the second item when I press it the second time, and so on. However, when I press the button, it immediately shows the last item in the list instead of going through the items one by one.

Is there a problem with my blocks? Also, is there a clear tutorial on how to use loops in Kodular?


replace the “get…” variable to the list

You need a global variable index, set it to 1
On button click select the item from the list having the current index and increment the index

Taifun