Raise your glass for Pink. The singer just nabbed a role alongside Gwyneth Paltrow, Mark Ruffalo and Tim Robbins in the sex-addiction comedy "Thanks for Sharing."

"Kids Are Alright" screenwriter Stuart Blumberg will make his directorial debut helming the flick and has only the highest praise for the pop star, according to EW.com.

"[Pink] could not be a more ideal fit for this role," Blumberg said. "She carries with her just the right combination of heart and edginess for the part of Dede, and we're incredibly excited to share her acting talent with audiences."

The film also stars "Love and Other Drugs" actor Josh Gad, and Edward Norton is onboard as a producer on the film.

Pink, whose real name is Alecia Moore, will play a "free-spirited" addict who bonds with Gad's character. Pink's previous onscreen credits include "Charlie's Angels: Full Throttle," "Rollerball," "Catacombs" and "Happy Feet Two." Her music has appeared on countless soundtracks including "White Chicks," "Mean Girls," "Moulin Rouge!" and "Fantastic Four."

Pink was spotted on the "Thanks for Sharing" set in New York City on Monday sporting a leather jacket and her signature cropped, platinum-blond locks updated with blue highlights. The movie is due out in 2012.

Earlier this year, Pink became a first-time mom when she and husband Carey Hart welcomed a baby girl, Willow Sage Hart. She released her album Greatest Hits ... So Far!!!, which spawned the two feel-good anthem hits "Raise Your Glass" and "F---in' Perfect," last November.