Thanks to a little movie magic, Armie Hammer was able to avoid an accidental nude scene in “Call Me By Your Name”.

In an interview with Andy Cohen on SiriusXM’s “Radio Andy”, Hammer, along with co-stars Timothee Chalamet, Michael Stuhlbarg and director Luca Guadagnino, revealed the near X-Rated experience, all thanks to a wardrobe malfunction involving short shorts.

RELATED: Armie Hammer Deletes Twitter Account Following Response To ‘Bitter’ BuzzFeed Article

“There was a few times where they had to go back and digitally remove my balls from the movie,” the “Social Network” star said, as he explained the intimate scenes he filmed with Chalamet. “They were short shorts – what are you gonna do?”

Cohen chimed in with a joke, “Short shorts and big balls is what you’re saying? Wow.”

RELATED: Armie Hammer Sounds Off On Hollywood’s ‘Double Standard’ When It Comes To Casey Affleck And Nate Parker

Hammer, 31, quickly turned red, “My mom’s going to love listening to this interview.”

“Call Me By Your Name” is now playing in select theatres.