Halle Berry and Olivier Martinez hope to make their divorce as "painless as possible".
The couple - who announced they were splitting up last month - were spotted taking the 'Extant' actress' seven-year-old daughter Nahla to a party together.
A source told PEOPLE magazine: "Olivier is very happy that he and Halle are able to keep a good relationship. They want to make the divorce as painless as possible for the kids.
"They acted friendly and seemed okay. They keep spending family time together and seem to get along."
Meanwhile, the 49-year-old star previously insisted she is doing "OK" following their split and is busying herself by looking after Nahla and her and Olivier's two-year-old son Maceo.
She said: "I'm doing OK, I really am. I, I keep pushing and I'm really happy to be here. Whenever you're going through anything in life, when you step outside yourself and focus on others, that's always the best remedy for any situation that you'd rather not be dealing with."
Of their Halloween plans, she added: "Maceo didn't go trick-or-treating because he has the chicken pox, Nahla was a zombie cheerleader and we had a great [time] ... I was a pirate and she [Nahla], she's like, 'You're a sexy pirate mommy.' I'm like, 'What do you know about a sexy pirate?'"