Legendary Trinity Church called off its family-friendly Halloween party, fearing parents and kids would be harassed by an OWS offshoot that’s taken up residence outside the downtown chapel.

Two to four dozen homeless people camp at the corner of Broadway and Rector Street, where Trinity Halloween revelers would be entering.

“This decision was made out of an abundance of caution as we continue to face safety issues arising from the sidewalk camp in front of Trinity Church,” the Rev. James Cooper wrote to parishioners.

Trinity officials said the final straw came on Thursday, when a church staffer was accosted by a layabout, who shouted in his ear with a bullhorn. The victim had to see a doctor, the church said.

“That was the straw that made us look at the situation,” Trinity VP Linda Hanick said. “We’re very upset that we have to take this measure. Our church is all about hospitality and welcoming.”

Homeless camper Fathema Shaididi, 57, blasted the church for making them a scapegoat.

“They [Trinity] don’t have to use the kids to get to us,” Shaididi said. “It’s really low. [Cooper] will use any little excuse to get to us. I think it’s horrible.”

The annual Halloween party has usually drawn about 1,000 parents and kids for trick-or-treating and a vintage horror movie. This year;s feature would have been the silent classix “Dr. Jekyll and Mr. Hyde” with the Trinity organ providing accompaniment.

“Almost every one in my our office has kids, so it’s really disappointing,” said neighborhood office manager Gary Spino, 50, who was all set to bring his 3-year-old son to the Trinity bash.