I am single - been divorced for many years. I don’t ‘get along’ with him. He has remarried. I presume your Ex is single as well. It’s easier .
In my case, I have 3 AC , all living in the same little town, and so I do bump into my Ex and his wife at family weddings, birthday parties etc. It was difficult at first. Thankfully and strategically, they always leave before I arrive. The couple of years leading to divorce, was very painful - serial philanderer etc. it’s hard to shake off the hurt even after all these years. But I do admire you and your Ex for managing to stay on friendly terms .