The Oscar-nominated actress stars alongside the comic legend in the new movie - which also stars Ben Stiller and Matthew Broderick - and she admits she couldn't stop thinking about what a "genius" he is when she started filming with him.
She said: "I was really worried because a lot of the scenes are with Eddie Murphy, and all I could think about is 'Raw' and how genius he is in that with his red leather suit.
"He's so funny and I was so nervous about what it would be like to film with him."
However, the 27-year-old star eventually relaxed and enjoyed working on the movie because she got to cut loose and have fun.
She added: "I am actually quite a raunchy and crazy person and on this film I was allowed to be a crazy person."