The actress makes a furry friend's acquaintance on the N.Y.C. set of her new movie

Now that’s what you call animal magnetism.

While filming a scene on the N.Y.C. set of Mania Days Tuesday, Katie Holmes came face-to-face with a squirrel – and that’s when things went nuts.

Testing her quick reflexes, the actress seemingly tried to pet her new furry friend at one point. (As a New Yorker, we’d think she would know better than to try and touch a rodent!)

The film, her first major movie role since splitting from husband Tom Cruise, stars Holmes, 34, as a manic-depressive who finds romance with a fellow patient at a psychiatric hospital. Perhaps going nuts was just part of staying in character. RELATED: Mama Squirrel Saves the Day