Tilemap uses string instead of for loops