The hammer can help remove a layer of an obstacle on a grid without using a move. When you want to use the hammer, tap the hammer icon on the right of the game board and then tap the obstacle that you want to clear. You can buy a hammer within a level or earn it as an event reward.