Jennifer Garner
Jennifer Garner is pictured here attending the 6th Annual Save the Children Illumination Gala at the American Museum of Natural History in New York City on Nov. 14, 2018. Getty Images/Steven Ferdman

Jennifer Garner works hard to maintain her fit physique.

Earlier this week, Garner, 46, was photographed leaving a boxing session in Los Angeles. In photos obtained by Daily Mail, the "Alias" alum" showed off her toned figure in an all-black workout ensemble which included a t-shirt, leggings and trainers.

Garner, who went makeup-free for her workout, kept her hair away from her face by tying it up in a ponytail. She was also spotted carrying red boxing gloves and a black zip-up sweater when she left the gym.

Garner's latest sighting comes amid reports of her being cast in the upcoming comedy movie, "Fantasy Camp." According to Deadline, Garner will take on the role of Julie, who goes back to Camp Footlights, her former youth theater camp, for a reunion, and hi-jinks ensue.

Garner's new flick is written and directed by Abby Kohn and Marc Silverstein, who also wrote the scripts for "Never Been Kissed," "He’s Just Not That Into You" and Rachel McAdams and Channing Tatum's "The Vow." There is no release date announced for "Fantasy Camp" yet.

Aside from her latest casting, Ben Affleck's ex-wife is also working on "Yes Day" for Netflix and the series "My Glory," which will be streamed on Apple TV.

But while Garner has been spotted working out, going on outings with her three children with Affleck and even hanging out with her ex-husband, the "Love, Simon" star hasn't been photographed publicly with her boyfriend, John Miller, for weeks now. The couple was last seen enjoying a dinner date with two other couples back in February.

But there is a good reason why Garner and Miller are rarely photographed in public together. A source told E! News that Garner is "determined" to keep their relationship "private and for themselves."

According to the insider, Garner prefers "keeping things under wraps by going away with him and seeing him in private places. She's enjoying being with him and doing it the way she wants."

Garner also previously dished on the reason why she wants to keep future relationships low-key after ending her marriage with Affleck.

"What I think I've learned is that the scrutiny in your private life puts a pressure to make something happen," Garner told "CBS This Morning" back in July. "You feel a pressure to hurry up and get married, 'cause you think that'll end the, 'Are they engaged? Are they not?' And that's true in the reverse, as well. If there is any inkling of trouble, if the tabloids decide there's trouble, it can create trouble."