The former couple are parents to three kids: 10-year-old Violet, 6-year-old Seraphina, and 4-year-old Samuel. They have maintained a cordial relationship since their split in June last year.
"We're good friends and we're doing our best. Our kids are fabulous and we're working our best for them," Affleck said on "The Ellen DeGeneres Show".
The 43-year-old actor also shared that his youngest son Samuel believes that his dad is actually Batman.
"He thinks I'm in the Batcave now. I say to him, 'Dad's gotta go away now,' and he goes, 'You're going to the Batcave.'