When playing as the Mad Hatter you must take control of a controllable character and then have that one fall to their death. The easiest way I found for this is to take the Hatter to the ice cream factory. In the chamber with the deadly purple river (of ice cream?) there is a man pacing back and forth. Take control of him and walk him to the goo. Repeat 4×.