Drag and drop tilemap or snap to grid

How would I make it so you can paint tiles ingame to a tilemap, or a snap to grid system? I’m wanting to make a restaurant management game, where you can place counters, and those things. Some things would also use multiple tiles?

@Gooeygamer Did you manage to do it?