Credit: Netflix

Lily Collins is an actress who pulls from real life experiences for her roles.

In the new trailer for the Netflix film To the Bone, we see Collins playing a 20-year-old battling anorexia, and she had to pull from her past for the part. Collins herself has talked candidly about her personal battle with an eating disorder for more than half a decade, so she was understandably cautious about revisiting that time on screen.

"I was terrified that doing the movie would take me backward, but I had to remind myself that they hired me to tell a story, not to be a certain weight," she said to Shape magazine. "In the end, it was a gift to be able to step back into shoes I had once worn but from a more mature place."

VIDEO: Lily Collins: "Different Is Beautiful"

Choosing to return to that place took courage, but Collins said the process of filming was actually retroactively therapeutic for her.

"Although I was in recovery for several years before the movie, preparing for the film allowed me to gather facts about eating disorders from professionals. It was a new form of recovery for me. I got to experience it as my character, Ellen, but also as Lily."

Collins covers Shape magazine's latest issue, and uses the opportunity to talk about the positive body image she's created for herself.

“I used to see healthy as this image of what I thought perfect looked like—the perfect muscle definition, etc. But healthy now is how strong I feel. It’s a beautiful change, because if you’re strong and confident, it doesn’t matter what muscles are showing. Today I love my shape," she said. "My body is the shape it is because it holds my heart."