Margot Robbie wasn't going to let the opportunity to share a kiss with Brad Pitt pass her by. The two both star in the movie "Babylon," releasing next month. In the movie, the two co-stars share a kiss, a moment that was not written in the script and was instead improvised by none other than Robbie herself. 

Robbie talked about the moment in a recent interview with E! News.

"That wasn't in the script," Robbie shared of the kissing scene. "But I thought, ‘When else am I gonna get the chance to kiss Brad Pitt? I’m just gonna go for it.'" 

Diego Calva, Margot Robbie, and Brad Pitt at "Babylon" event

Margot Robbie and Brad Pitt both star in the upcoming movie, "Babylon" where their characters share an unscripted kiss.  (Monica Schipper/Getty Images FOR PARAMOUNT PICTURES)

HOW DID MARGOT ROBBIE GET FAMOUS? A LOOK AT THE ‘SUICIDE SQUAD’ STAR'S CAREER AND PERSONAL LIFE

Robbie also talked about the conversation she had with director Damien Chazelle that led to the magical moment. 

"I said, ‘Damien, I think Nellie would just go up and kiss Jack,'" she said. "And Damien was like, ‘Well, she could — wait, hold on. You just wanna kiss Brad Pitt.’ And I was like, ‘Oh, so sue me. This opportunity might never come up again.’" 

Robbie said that she and Chazelle agreed that the kiss worked for her character. When it came time to film the scene, the kiss ended up being a moment that Damien knew needed to make the final cut. 

Actress Margot Robbie

Margot Robbie plays Nellie LaRoy in the upcoming movie.  (Gareth Cattermole/Getty Images for Walt Disney Studios Motion Pictures UK)

BRAD PITT DETAILS HOW HE OVERCAME ‘MISERY’ AFTER ANGELINA JOLIE SPLIT

"He was like, 'No, do it again. That really works,'" Robbie explained. 

Pitt wasn't the only one that Robbie locked lips with during the filming of the upcoming movie. The "Wolf of Wall Street" actress shared that she also kissed co-star Katherine Waterston.

"I actually kissed Katherine [Waterston], as well, but I don't know if that made the cut," Robbie said during the interview. 

Brad Pitt, Margot Robbie, Leonardo DiCaprio at the premiere of "Once Upon A Time... In Hollywood"

Brad Pitt and Margot Robbie also worked together in the 2019 movie "Once Upon a Time…in Hollywood."  (John Rasimus/Future Publishing via Getty Images)

DOWNLOAD THE FOX NEWS MOBILE APP TODAY

"Babylon" stars Robbie as Nellie LaRoy and Pitt as Jack Conrad. The movie marks the third time the two have worked together. They both appeared in "The Big Short" in 2015 and were in "Once Upon a Time…in Hollywood" in 2019. 

"Babylon" comes out in theaters on Dec. 23.