Question: Will Ferrell had a role in the 2010 animated comedy film directed by whom?

Context articles: Elf (film)
Anchorman: The Legend of Ron Burgundy
Baghdad Texas
Despicable Me 2
Talladega Nights: The Ballad of Ricky Bobby
Will Ferrell
One Big Hapa Family
Moon Castle: The Space Adventure
Megamind
Step Brothers (film)

Elf is a 2003 American Christmas fantasy comedy film directed by Jon Favreau and written by David Berenbaum.
 It stars Will Ferrell, James Caan, Zooey Deschanel, Mary Steenburgen, Daniel Tay, Edward Asner, and Bob Newhart.
 It was released in the United States on November 7, 2003 by New Line Cinema.
 The story is about one of Santa's elves (Ferrell) who learns of his true identity as a human and goes to New York City to meet his biological father (Caan), spreading Christmas cheer in a world of cynics as he goes.
Anchorman: The Legend of Ron Burgundy is a 2004 American comedy film directed by Adam McKay, produced by Judd Apatow, starring Will Ferrell, and written by McKay and Ferrell.
 The film is a tongue-in-cheek take on the culture of the 1970s, particularly the new Action News format.
 It portrays a San Diego TV station where Ferrell's title character clashes with his new female counterpart.
 This film is number 100 on Bravo's 100 funniest movies, number 6 on TimeOut's top 100 comedy films of all time and 113 on "Empire's 500 Greatest Movies of All Time".
Baghdad Texas is a comedy film directed by David H. Hickey and stars Al No'Mani, Robert Prentiss, Melinda Renna, Barry Tubb, Ryan Boggus and Shaneye Ferrell.
 The writers include Shaneye Ferrell, David H. Hickey and Al No'Mani.
 The movie was produced by Booka Michel.
 The film has had a number of festival screenings and had its official theatrical release at the Quad Cinema in New York City on August 27, 2010.
Despicable Me 2 is a 2013 American 3D computer-animated comedy film and the sequel to the 2010 animated film "Despicable Me".
 Produced by Illumination Entertainment for Universal Pictures and animated by Illumination Mac Guff, the film was directed by Pierre Coffin and Chris Renaud, and written by Cinco Paul and Ken Daurio.
 Steve Carell, Russell Brand, Miranda Cosgrove, Elsie Fisher, and Dana Gaier reprise their roles as Gru, Dr. Nefario, Margo, Agnes, and Edith respectively.
 Kristen Wiig, who played Miss Hattie in the first film, voices agent Lucy Wilde, while Ken Jeong, who played the Talk Show Host, voices Floyd Eagle-san.
 New cast members include Benjamin Bratt as Eduardo "El Macho" Pérez and Steve Coogan as Silas Ramsbottom, head of the fictional Anti-Villain League (AVL).
Talladega Nights: The Ballad of Ricky Bobby is a 2006 American sports comedy film directed by Adam McKay and starring Will Ferrell, while written by both McKay and Ferrell.
 Additionally, the film features John C. Reilly, Sacha Baron Cohen, Gary Cole and Michael Clarke Duncan, and appearances by "Saturday Night Live" alumni.
 NASCAR drivers Jamie McMurray and Dale Earnhardt Jr. make cameos, as do broadcasting teams from "NASCAR on Fox" (Mike Joy, Larry McReynolds and Darrell Waltrip) and "NASCAR on NBC" (Bill Weber, Wally Dallenbach Jr. and Benny Parsons).
 "Talladega Nights" was Pat Hingle's last film before his death in 2009.
John William Ferrell ( ; born July 16, 1967) is an American actor, comedian, producer, and writer.
 He first established himself in the mid-1990s as a cast member on the NBC sketch comedy show "Saturday Night Live", and has subsequently starred in comedy films such as "" (2004), "" (2006), "Step Brothers" (2008), "The Other Guys" (2010) and "" (2013), all but one of which he co-wrote with his comedy partner Adam McKay.
 The two also founded the comedy website Funny or Die in 2007.
 Other films roles include "Elf", "Old School" (both 2003), "Blades of Glory" (2007), and the animated films "Megamind" (2010) and "The Lego Movie" (2014).
One Big Hapa Family is a 2010 animated/live-action documentary film directed by Canadian director Jeff Chiba Stearns.
 The documentary explores aspects that influence most Japanese-Canadians to marry inter-racially and how the mixed Japanese generation perceives its multiracial identity.
Pleasant Goat and Big Big Wolf - Moon Castle: The Space Adventure (喜羊羊与灰太狼之兔年顶呱呱 "Xǐ Yáng Yáng yǔ Huī Tài Láng zhī tùnián dǐngguāguā" "Pleasant Goat and Grey Wolf's Excellent Year of the Rabbit") is a 2011 Chinese animated comedy film directed by Sung Pong Choo and part of the film series based on the "Pleasant Goat and Big Big Wolf" animated television series.
 The film was released on January 21, 2011.
 It is preceded by "" (2010) and is followed by "" (2012).
Megamind is a 2010 American 3D computer-animated superhero comedy film directed by Tom McGrath, produced by DreamWorks Animation and distributed by Paramount Pictures.
 The film premiered on October 28, 2010 in Russia, while it was released in the United States in Digital 3D, IMAX 3D and 2D on November 5, 2010.
 It features the voices of Will Ferrell, Tina Fey, Jonah Hill, David Cross, and Brad Pitt.
Step Brothers is a 2008 American comedy film directed by Adam McKay, written by Will Ferrell and McKay from a story by Ferrell, McKay, and John C. Reilly and starring Ferrell and Reilly.
 It follows Brennan (Ferrell) and Dale (Reilly), two men who are forced to live together as brothers.