In order to do this, you must first get a potion from the witch in the Forest Kingdom. After talking to her you are given the potion that gives you the ability to push buildings. (Thanks TopScienceBoy)
Once you get the potion, click on any building you would like to push and when your avatar grabs it, click the icon on the right of the screen that looks like a building between two arrows. From there just simply move the building in any direction you want 30 times.
Note: It doesn't have to be 30 different buildings since I moved maybe 3 or 4 houses and then the same building and while I was moving it, the achievement popped.