If I understand the set_cell() function correctly, the coords argument is for where you wanna place a tile on the TileMap, while the atlas_coords argument decides which tile out of the atlas of the TileSet is being placed. I am guessing that this chess pattern in your TileSet is only 6 tiles big, so when you reach 7, the function is grabbing empty tiles and won’t continue on further.
You could change your code to the following. Hope this helps. :>
for x in width:
for y in height:
$"../TileMap".set_cell(0, Vector2i(x, y), 0, Vector2i((x + y) % 2, 0), 0)
Thank you! I feel dumb now, I understand what atlas coords are but I failed to realize that if one of the vars were over the atlas tilesize that it wouldn’t draw anything
Oh, it’s quite alright. ^^ Tunnel vision or stupid copy and paste mistakes can happen to anybody; no matter their skill level. :> And asking for help is what the forum is there for. ;D