Appearing naked in a movie can pose special problems for a performer in the age of the Internet.

“I know that if I do nudity in a film, it’s going to be online all over the place,” said Kirsten Dunst, who appears naked in Melancholia, the sci-fi drama by Danish auteur Lars von Trier.

It is, but Dunst says she felt comfortable with it because it was essential to the plot, expressing her character’s connection with Earth in an intimate way.

“Some films, if it’s inappropriate, or feels cavalier and doesn’t make sense, I don’t like that kind of nudity,” Dunst said.

“I did it, it looks beautiful, it’s a Lars von Trier film, it’s fine. If I was in some comedy and showing my boobs, I’d be bummed. I don’t think you should show your boobs in a comedy, especially if you’re the lead. Boobs aren’t funny.”