Ohhhhhh duuuuuuude, ur a freakin genious, duuude u figured it out :0
So the loop index code is actually calculating the tilemap object itself not the tilemap on the scene/layout of the game?
If you want , can you add me on discord , i want to give you this game im working on for free, for helping me, when im done with it ofcourse , Discord ZtarDuzt#8322
And maybe we can also work on some projects together idk, but add me