Ryan Gosling at the 39th Annual Santa Barbara International Film Festival.Photo:Steve Granitz/FilmMagic

Ryan Gosling arrives at the 39th Annual Santa Barbara International Film Festival: 16th Annual Kirk Douglas Award For Excellence In Film Honoring Ryan Gosling at Ritz-Carlton Bacara Resort & Spa on January 13, 2024 in Santa Barbara, California.

Steve Granitz/FilmMagic

Ryan Goslingknows he wants to prioritize spending time with his family.

In an interview withVariety, theBarbieactor, 43, opened up about the four years he took off of acting, in which he decided to focus on fatherhood. The star is dad to daughter Esmeralda Amada, 9, and Amada Lee, 7, whom he shares with partnerEva Mendes.

“Just to be with my family. I didn’t want to miss anything,” Gosling said of his break. “My priorities changed, and I wanted to be with my kids.”

“It’s going super fast. I hear the clock ticking. I don’t know how much time I’m going to get and I don’t want to spend it in the wrong place. I know I’m not spending it in the wrong place if I’m with family.”

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.

Ryan Gosling and Eva Mendes.Sonia Recchia/Getty

Actors Eva Mendes and Ryan Gosling attend “The Place Beyond The Pines” premiere during the 2012 Toronto International Film Festival at Princess of Wales Theatre on September 7, 2012 in Toronto, Canada

Sonia Recchia/Getty

In August, asource told PEOPLE that the pair"very much enjoy family time" with their daughters, adding that they’re “hands-on parents and have little help.”

“When they are not working, they are all about their girls,” the source continued. “Ryan is such a fun dad. He is goofy and his girls love it.”

Ryan Gosling at the ‘Barbie’ premiere.Rodin Eckenroth/WireImage

Ryan Gosling attends the World Premiere of “Barbie” at Shrine Auditorium and Expo Hall on July 09, 2023

Rodin Eckenroth/WireImage

Earlier that month, Mendes, 49, revealed on Instagram thather household has specific rules when it comes to social media. On a video of herself shaking her head and fingers in disapproval, she captioned the post “When my kids ask me if they’re old enough to go on the internet, social media or anything requiring wifi 😂.”

After sharing the post, Mendes took time to respond to social media users who weighed in onher parenting style. “I’m just sharing what I feel now, but I know it’s gonna get harder as they get older,” the mother of two wrote regarding the topic.

“We are in the internet century so eventually everyone will need or want to access the internet sorry,” a commenter claimed, prompting Mendes to add, “Yes true, but in my house, children do not have access to the internet. It’s too dangerous. Just like drinking or voting or getting a driver’s license (etc..) isn’t allowed for children, the internet falls under that category for me. Especially social media.”

source: people.com