Actress Katie Holmes let loose with longtime friend Jamie Foxx at that Apollo in the Hamptons last weekend, but when the Django Unchained actor grabbed the Broadway beauties backside, she shut down any thought Foxx may have had that she would be going home with him.

An source tells Us Weekly that Foxx and Holmes were spotted dancing to “Blurred Lines” and “Get Lucky;” “After a hug he grabbed her butt and tried to seal the deal,” the source notes. “She was flattered, but not interested."

According to a friend, the two were not “flirting” but simply enjoying their time out as friends.

Holmes’ divorce from actor Tom Cruise was finalized Aug. 2012. Since her divorce, Holmes has not been romantically linked to anyone.

Holmes previously tried her hand on Broadways Dead Accounts, but following lackluster reviews and minimal ticket sales the show closed early.

She can next be seen in Days and Nights, Mania Days, Miss Meadows, and Responsible Adults.

Image: NBC