Ben Affleck and Jennifer Garner were spotted together again at an event also attended by his estranged wife, Jennifer Lopez.

They were photographed arriving for the nighttime event in the Brentwood neighborhood of Los Angeles on Friday.

Exes Affleck and Garner, both 52, attended with their 15-year-old child, Seraphina.

They were all dressed casually for the outing, with the “Argo” star wearing jeans, a distressed red graphic T-shirt and a maroon, sherpa-lined jacket.

Ben Affleck and Jennifer Garner at a Brentwood event
Exes Ben Affleck and Jennifer Garner attended the same Los Angeles event as Jennifer Lopez on Friday night.SPOT-CelebrityLivin / BACKGRID

Ben Affleck and Jennifer Garner with Seraphina at a Brentwood event

The “13 Going on 30” star wore a black coat paired with raw-hem blue jeans and black shoes.

Seraphina looked cozy in an all-black ensemble.

Affleck and Garner also share 18-year-old daughter Violet, who is currently in her freshman year at Yale University, and 12-year-old son Samuel.

Jennifer Lopez at Brentwood event
Lopez smiled as she entered the Brentwood event dressed in a gray jumpsuit Friday night.SPOT-CelebrityLivin / BACKGRID

Jennifer Lopez with Emms and friends
She attended with her 16-year-old Emme and some friends.SPOT-CelebrityLivin / BACKGRID
Lopez, meanwhile, attended the event with her 16-year-old Emme and some friends.

The “Marry Me” actress, 55, looked comfy but chic in a belted jumpsuit paired with neutral-colored pumps.

Emme, who has a twin named Max, dressed in a black graphic tee paired with baggy shorts and a dark gray hoodie.

Both parties appeared to be in good spirits and were spotted smiling as they arrived in their respective groups.

Jennifer Lopez and Ben Affleck
Affleck and Lopez were not photographed together on Friday.Getty Images

Jennifer Lopez and Ben Affleck

The “Dance Again” singer filed for divorce from Affleck on Aug. 20 and cited irreconcilable differences.Getty Images for The Recording Academy

The outing came a month after Affleck and Lopez narrowly missed each other in September as they worked from the same Los Angeles office building.

The “On the Floor” singer filed for divorce on Aug. 20 — exactly two years after they tied the knot in front of family and friends in Georgia.

She listed their date of separation as April 26 and cited irreconcilable differences as the reason for their split.