Ben Affleck is putting his health first.
A source tells ET that the 46-year-old actor is living a healthier lifestyle these days, which includes regularly exercising and spending time with his three children with his ex-wife, Jennifer Garner -- 13-year-old Violet, 10-year-old Seraphina and 7-year-old Samuel. The source notes that 47-year-old Garner continues to be supportive of Affleck as he stays on "the right path."
"Ben has finally taken that step toward a healthier lifestyle and his family couldn't be happier," the source says. "He's on the right path and doing incredibly well with the full support of Jen and his entire family. Jen, of course, helped to motivate Ben by being a constant reminder that he must be the best he can for his children."
"He's been taking this time to exercise daily, and eat well and spend time with his children," the source continues. "He is making sure he's doing what is best for not only himself but also his family. His motivation to change came from taking the time to look at what he has and what he could lose."
Meanwhile, the source says that Garner is continuing to datebusinessman John Miller, whom she's been linked to since last October.
"Jen and John are still very much dating and are together more and more," the source says. "Ben sees how happy Jen is with John."