Actor Jennifer Garner met up with her ex-husband Ben Affleck and his girlfriend Jennifer Lopez while out trick-or-treating with the kids over the weekend.

Also Read: Forget Bennifer, Jennifer Garner, John C. Miller steal spotlight in New York

The stars were spotted out for Halloween in Malibu, with the actress meeting up with Affleck and Lopez at one point. Earlier that day, Affleck and Garner spent time with their kids at Huckleberry.

“Everyone gets along and the focus is always on the kids. Jennifer, Ben and Jen Garner all wanted the kids to have an amazing Halloween,” a source told people.com

“The kids are friends and wanted to go trick-or-treating together. It made sense that they all went together. Ben is working today again, so they wanted to enjoy a family weekend,” the source added.

Garner, 49, and Affleck, 49, share three children: Violet, 15, Seraphina, 12, and Samuel, 9. They wed in 2005 and announced their separation in June 2015. They settled their divorce in October 2018.

Lopez and Affleck rekindled their romance in April before going Instagram official in July for the singer’s birthday.

Also Read: Romance, but safe: Jennifer Lopez, Ben Affleck’s COVID kiss at Met Gala 2021

A source previously told PEOPLE they “are in it for the long run” after the two brought their respective children to the Magic Castle in L.A. Lopez, 52, is mom to 13-year-old twins Emme and Max.

Back in May, Affleck honored Garner for Mother’s Day, writing in an Instagram tribute, “So happy to share these kids with you. Luckiest parents in the world. Thanks for all the good you do. Happy Mother’s Day. Love, their Dad,” sharing throwback photos of Garner with their children, including a family photo from a past Halloween holiday.