Selena Gomez recently reflected on her time with Disney as a child star compared to her work as an adult.

On Friday (Aug. 6), the Princess Protection Program alum spoke with Fox News and other outlets during a virtual Hulu panel to promote her upcoming limited series, Only Murders in the Building.

"I signed my life away to Disney at a very young age, so I didn't know exactly what I was doing," Gomez admitted.

“What I’d say is the level of sophistication of the material is the first reason why I wanted to do this,” she explained of her upcoming show. Gomez added that when she was just a tween on Wizards of Waverly Place, she "didn’t know what I was doing. I was just running around on set.”

Although her time with Disney Channel has since ended, she said she has learned from the experience.

Gomez previously told Elle that the time she spent working on the network was "one of the best experiences of my life," adding that even at the time she understood that she had to be a role model for the kids and tweens watching her on their screens. She also admitted that it was hard to speak her mind unfiltered.

"The moment I started breaking those walls down, I felt very exposed, so I was very hesitant to share with people," she said at the time. "So I would sit down, I’d give the politically correct answers."

She then had a clarifying moment where she realized that she wanted to let go of people's judgment: "I think I realized it was a gift. I was scared of it. I didn’t want people to know, but the life that I was given, I believe that I had to share it."

Gomez stars in and executive produces the upcoming Hulu series Only Murders in the Building alongside comedic legends Steve Martin and Martin Short. The comedy follows three strangers who are obsessed with true crime. When someone dies in their complex, they allege murder and begin to investigate the potential crime.

Only Murders in the Building premieres on Aug. 31 exclusively on Hulu.

LOOK: The most famous actress born the same year as you

Many of the actresses in this story not only made a name for themselves through their collection of iconic performances, but also through the selfless, philanthropic nature with which many of them approached their stardom. In an age of flipping the script on societal norms, many of these actresses are using their voices and platforms to be advocates for those who are otherwise unheard.