Neil Patrick Harris got so angry during his performance in “Hedwig and the Angry Inch” Thursday night, he spat water on a woman taking photos of him.

A tipster reports to Page Six that halfway through the Broadway show, Harris, in full drag as transgender Hedwig, “leaned down into the audience and asked a woman, ‘Are you drunk?’ She waved her arms in the air and everyone assumed it was part of the act. Neil then berated her for taking photos, telling the audience she was sitting in seat 3A. He then sniffed, ‘I hate you,’ and turned on his high heels.”

Later, Harris was supposed to spit water at the audience as part of a scripted scene in the play, but instead “he spat the water straight at the woman,” said our source. “It was all a bit frosty and awkward. His anger was spectacular, especially the ‘I hate you’ bit. The audience went into a stunned silence. You could cut the atmosphere with a knife!”

A rep for the show told us, “There is always an element of audience interaction in each show, and it is all in character.”