A San Francisco police officer on Halloween responded to a young boy’s bat signal.

According to the Mission District station's Twitter page, a yet unnamed officer found out that the child did not have a costume in which to dress up. So he set out to the rectify that.

A video shows the officer standing at a house’s front door while the boy runs down a flight of stairs. In the officer’s hand is a Batman costume.

“Come on, dude!” the officer says. “It’s all yours.”

Someone in the background can be heard saying the child was crying – a fact that the boy immediately denied, drawing chuckles from the officer.

“There’s a mask, all that good stuff,” the officer said.

“Alright,” the boy replied.

As the officer asked the boy if he thought the attire would fit him, the child flung the costume aside, said, “Thank you,” and threw his arms around the man’s waist.

The officer returned the hug. “No problem, dude,” he said, smiling.

Additional details about the pair’s interaction are unknown.

NBC Bay Area has reached out to the San Francisco Police Department for a comment.