Looping through an array?

Hey There!

Modulo is the way to do it !

for int i = 0 true i++
      ar[i%ar.length]
1 Like