Mariah Carey spent Halloween with James Packer and Nick Cannon.

Mariah Carey, Nick Cannon and their twins go trick or treating (c) Instagram

Mariah Carey, Nick Cannon and their twins go trick or treating (c) Instagram

The 'Hero' hitmaker wanted her four-year-old twins, Moroccan and Monroe, to enjoy the spooky holiday on Saturday (31.10.15), so rented a $15 million estate near Beverly Hills from Airbnb and threw a party which was attended by both her new boyfriend and her ex-husband, who is the kids' father.

A source told E! News: "Mariah and Nick got along great and were super friendly towards one another."

Guests including Tracey Edmonds and Jeff Beacher tucked into candy apple martinis and Sugar Factory candy as they danced the night away, while there was also tasty treats such as fried mac and cheese for the children in attendance.

Mariah dressed as a witch in a leather dress and gloves, while James donned a suit and Phantom of the Opera mask.

Ahead of the party, Moroccan and Monroe donned Batman and Batgirl outfits and posed for photos with their parents before going trick or treating at neighbouring homes.

Nick - who dressed as a zombie - shared a picture on social media, writing:"#RocandRoe going hard this Halloween! #BatGirl #Batman. And Batman escapes with a sack full of candy!! (sic)"

It was previously claimed the 'America's Got Talent' host is very supportive of his ex-wife's new romance.

A source said: "Nick is doing well in his personal life and he just wants Mariah to be happy.

"He feels as long as his kids are in good hands, he will support any decision Mariah makes.

"Mariah will always be in Nick's life that will never change. It makes Nick happy that Mariah is in a great place in her life between work and love."