Jason Segel will direct an upcoming LEGO Movie spin-off, The Billion Brick Race.

According to The Hollywood Reporter, the How I Met Your Mother star will co-write and co-direct the film with Iron Man 3's Drew Pearce.

The LEGO Movie directors and screenplay writers Phil Lord and Chris Miller are set to produce The Billion Brick Race, which is in the early stages of development.

There are three other Lego-based movies on the way: Ninjago in 2016, The LEGO Batman Movie in 2017 and The LEGO Movie 2 in 2018.