NEW YORK (CBSNewYork) — Actor Paul Rudd surprised voters Thursday at the Barclays Center.

The movie star showed up to hand out cookies to people standing in line in the rain.

READ MORE: Paterson Mother Charged With Murder In 7-Year-Old's Death

READ MORE: 3 Teens Charged In Manhattan Subway Attacks, Police Release Video Of New Suspect Believed To Be Group's Lookout

He thanked voters for “doing their part.”

The New Jersey native also took several photos with fans while wearing a mask and gloves.

MORE FROM CBS NEW YORK

MORE NEWS: Play Ball! Dozens Of Kids Return To The Field As East Harlem Little League Restarts

You can get the latest news, sports and weather on our brand new CBS New York app. Download here.