The exes are reprising the roles as Mystique and Beast in the film
Credit: Jon Kopaloff/FilmMagic

Friendly exes!

Jennifer Lawrence and Nicholas Hoult may have moved on in their private lives, but the pair are very much together on the set of the new film X-Men: Apocalypse.

The film’s director, Bryan Springer, posted a pic with the pair on Instagram on Thursday.

The Oscar winner is reprising her role as blue-skinned mutant Mystique opposite Hoult, 25, who plays the blue-furred Beast. Lawrence, 24, said in March that it will be her last time playing the character.

The exes, who met while costarring in 2011’s X-Men: First Class split last August.

Lawrence moved on with Coldplay’s Chris Martin, while Hoult was spotted with former Glee star Dianna Agron in England in April.

Jennifer Lawrence and Chris Martin Are Heating Things Up!

X-Men: Apocalypse is due to hit theaters May 27, 2016.