ForeEachLoop Crashing the game :( I don't understand why

Thank you :slight_smile: it’s almost working perfectly now. the only problem is that it stops at tile 32 and doesn’t continue with the other 59