Switching between multiple pawn

  • you’re doing --, this will not work with modulo, print the result to see what it does
  • if you want to go the other way with the indexes, check if the index is less than 0 and then set it to the array’s Last Index instead
  • you do not need to make the light visible every time you press a key, once is enough - when you possess the Pawn perhaps, as above

Also, why take pictures of the screen with your phone? Not only does it take more time, but we also can’t see anything.

image

Windows Snipping Tool is not too bad but there are, of course, more convenient alternatives.