In the first part of the game the Hammer is used to remove player-placed structures, naturally-occurring rocks, and tree stumps. The Hammer unlocks after reaching a population of 20 Thronglets. In the second part of the game you can also use the Hammer to crack rocks to produce ore, and then crack ore to produce energy.