I think this is one of the most asked questions regarding game maker haha.
Many solutions only focus on instances, but very few focus on the relationship between tileset and instances. I wrote once a system that worked more or less together with the tilesets, but I'm trying new things to see if I can get something better, because the system I made at that time consisted in having many Layer (instances and tileset) and quickly went to chaos.