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: Stamford Mayor Caroline Simmons Announces Birth Of Third Son

He thanked voters for “doing their part.”

READ MORE: 5 Hurt, Dozens Displaced After Passaic Fire

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

MORE FROM CBS NEW YORK

MORE NEWS: NYC Mourning NYPD Officers Wilbert Mora, Jason Rivera After Deadly Ambush In Harlem

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