Problem reading objects from an Array

I am trying to create a sort of “level maker” and am using the tile view to set up positions for everything. I created the tiles by creating the widget, adding them to an array and finally adding them to the tile view. Every tile is a button and each button when pressed will toggle a on or off Boolean. To place all the blocks I run through a for each loop of the array to place all the blocks all the tiles return a false no matter what. I can switch true and false and all will spawn and i can do the reverse and none will. If needed I can post picture so lmk (not home rn). i think it has something to do with the accessing the tile view list but there is little documentation and I haven’t been able to figure it out.