You talk about having a bug with the gridmap, when hovering over the edge of a tile, a new red tile in an empty space gets placed. And then you fix it with the get_cell_item function and checking if it is equal to 0.
It is nice to know how to fix this, but how do you go about finding the issue of that bug and know how to fix it?
Because, sometimes it seems to me that, in order to fix a bug, I would need to know every function that is available, which is kind of daunting.