I want to know how to make a grid/tile-based game. Say you are making a game where you can drag and drop sprites on to the screen and you can make a scene of some sort, like a city, but you don't want it to be able to placed just anywhere, only on the grid. How would I do that?