2D Tilemap Building Game..

So I know how to use tile maps, and make player levels with the tile palette in the scene editor… My question is, is there a way to allow the Player to access a button, that spawns in a certain Tile prefab that he can place on the tilemap in game? I want to create a building game that uses tilemaps, but I can’t for the life of me figure out how to give the player access, to tile placement in game.

To anyone with the same question. I found an excellent tutorial on Youtube that shows exactly what I needed!