Kate Hudson is grateful she has maintained a friendship with ex-husband Chris Robinson - because it makes their son happy.
The couple split in 2006 after six years of marriage and have a four-year-old son, Ryder.
After numerous failed relationships with stars including Owen Wilson and Lance Armstrong, Hudson is now living with Robinson and their child in California.
And Hudson believes the living arrangements are the best remedy for their son's happiness.
The actress tells U.S TV host Ellen DeGeneres, "It's such a shame when people let their egos get in the way of what's the most important thing. I feel like a lot of time someone's pride is affected when a relationship ends.
"For me it feels like this isn't about me or (Chris). We did it the right way, which is we knew it wasn't right (to stay together) so we wanted it to be great for Ryder and we got a happy, happy boy.
"We spend a lot of time together. We love our baby. With both of us working all the time and away and travelling it makes it great for Ryder."