Photo: Taylor Hill/FilmMagic

SANTA MONICA, CALIFORNIA - FEBRUARY 08: Greta Gerwig attends the 2020 Film Independent Spirit Awards at Santa Monica Pier on February 08, 2020 in Santa Monica, California. (Photo by Taylor Hill/FilmMagic)

Greta Gerwigtackled some of her biggest fears inBarbie.

The Academy Award nominee, 39, who wrote and directed Warner Bros. Pictures’upcomingBarbiemovie, admitted “it was terrifying” taking the helm of such an iconic project as she appeared on Friday’s episode of Dua Lipa’sAt Your Servicepodcast.

“There’s something about starting from that place where it’s like, ‘Well, anything is possible,'” she explained. “It felt like vertigo, starting to write it. Where do you even begin? And what would be the story?”

“I think that feeling that I had was knowing that it would be really interesting terror. Usually, that’s where the best stuff is, when you’re like, ‘I am terrified of that.’ Anything where you’re like, ‘This could be a career-ender,’ then you’re like, ‘Okay, I probably should do it,'” Gerwig said with a laugh.

She and partnerNoah Baumbachsigned on towrite the screenplayfor the upcomingBarbiestarringMargot Robbieback in 2019. Gerwig wastapped to direct the filmlast July, andfilming began at Venice Beachin June.

SplashNews.com

Margot Robbie and Ryan Gosling rollerskate through Venice Beach while filming ‘Barbie’ in Los Angeles, California

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

Robbie, 32, stars as the beloved doll, whileRyan Goslingplays Ken. The movie also starsWill Ferrell,America Ferrera,Kate McKinnon,Michael Cera,Issa Rae,Hari Nef,Simu LiuandNcuti Gatwa.

TheLady Birdauteur previously teased the upcoming movie while appearing onVariety’sThe Big Ticket with Marc Malkinpodcast in Dec. 2019, admitting that she had a “girl crush” on Robbie: “Doesn’t everyone?”

“Shecame to us and had a very exciting ideaand was interested to hear our ideas,” Gerwig said. “I can’t really speak to it yet because it’s early days, but it’s a very exciting prospect.”

Snorlax/MEGA

Greta Gerwig is seen on set of ‘Barbie’ having conversations with each of the movie’s star

Barbie also learns that the “key to happiness is belief in oneself, free of the obligation to adhere to some unattainable standard of perfection.”

RELATED VIDEO: Eva Mendes Reacts to Ryan Gosling’s First Character Photo fromBarbieMovie: ‘That’s My Ken’

Robbie previously expressed her excitement about the role to PEOPLE. “I think it’s a great opportunity toput some positivity out in the worldand a chance to be aspirational for younger kids,” she said in 2019.

Barbieis set to premiere July 21, 2023.

source: people.com