Log In  
Follow
Razzputan
[ :: Read More :: ]

hello i am hoping the answer is pretty straight forward and im to tired to realize it right now, but i have a table with 5 values and i would like to do something like

table={1,2,3,4,5}

if btnp(X) then table[i+1]

but also have it wrap back to 1 if the table index reaches the length of the table.

essentially a (for I=1,#table do) but only progresses if I press a button

P#123956 2023-01-08 17:54 ( Edited 2023-01-08 18:02)