Jennifer Garner and Ben Affleck
Jennifer Garner and Ben Affleck reunited on their son's birthday. Pictured: Affleck and Garner arrive at the Oscars at Hollywood & Highland Center on Feb. 24, 2013 in Hollywood, California. Getty Images/Jason Merritt

Jennifer Garner and Ben Affleck reunited again for their son Samuel's birthday.

On Tuesday, Samuel turned 6 years old. On the same day, Affleck and Garner were photographed in good spirits as they walked together in Los Angeles.

The "Justice League" star was all smiles as he walked alongside his ex-wife. Affleck sported a navy blue shirt, black jacket and blue jeans. On the other hand, Garner tied her brunette tresses into a bun. She donned dark-hued leggings and a pink and black bomber jacket.

Another shot featured Garner crossing the street while holding Samuel's hand. Violet, 12, is behind them. Meanwhile, Affleck and his mom, Christine Boldt, walk side by side behind Seraphina's sister.

Affleck and Garner remain amicable after their split in 2015. In fact, they still celebrate their children's birthday together. In January, the couple also reunited for Seraphina's 9th birthday.

"Jennifer hosted a small birthday party for Seraphina at her house late Saturday afternoon," a source told E! News. "Ben was the first guest to arrive on his motorcycle right as the party was starting. He was in a great mood."

However, Affleck and Garner's eldest daughter, Violet, opted to celebrate her 12th birthday with her friends. Violet was spotted at the Willy Wonka-esque restaurant Barton G. in Los Angeles with a group of friends. They dined on lobster pop tarts and shared a cotton-candy for dessert. Although Garner and Affleck were not around, they were spotted strolling together earlier that day.

The "Batman" actor and the "Miracles from Heaven" star keep their children their top priority, so they still celebrate the holidays together. For instance, the family spent their Christmas together.

Affleck and Garner also spent Thanksgiving as a family. Days before the holiday, the "Peppermint" star confessed that Affleck and his mom would visit the kids. In fact, she wished that they would leave her in the kitchen to cook for everyone.

"Ben's mom, Chris [Boldt], will be in town and she and Ben will take the kids and I'll have crafts set up and I'll have T-Ball, soccer, I'll have anything set up," Garner told Entertainment Tonight.

"If they will play with the kids and just let me cook, it is heaven for me. I will make homemade bread, I'll make stuffing, I'll make a turkey, I'll make gravy, I'll make sweet potato pudding, I'll make pies. Just let me have that day in the kitchen."