Lavigne's feature film debut was voicing an animated character in the 2006 film Over the Hedge, based on the comic strip of the same name. She voiced the character Heather, a Virginia Opossum. Recording the characters' voices was devoid of interaction with other actors. Lavigne stated, "All the actors went in individually, and [director] Tim and [screenwriter Karey] and directors were there with me every time I went in, and they made it go so smoothly; they made me feel comfortable.... That was the interesting part, going in by yourself, with no one else to kind of feed off of." Lavigne found the recording process to be "easy" and "natural", but she kept hitting the microphone as she gestured while acting. "I'd use my hands constantly and, like, hit the microphone stand and make noises, so Tim and Karey had to tell me to hold still.... It's hard to be running or falling down the stairs and have to make those sounds come out of your mouth but keep your body still." Lavigne believed she was hired to perform Heather because of her rock-star status. "[The director] thought I'd give my character... a bit of attitude". The film opened on 19 May 2006, making $38 million over its opening weekend. It went on to gross $336 million worldwide.