Sofia Vergara Photobombed, 'Modern Family' Cast Pranks Vergara While She Naps On Set (PHOTOS)

Sofia Vergara should think twice about where she takes her naps.

The voluptuous beauty was pranked by her fellow "Modern Family" cast members while taking a nap on set at the Mandalay Bay Resort & Casino in Las Vegas, Us Weekly reported.

Jessy Tyler Ferguson, who plays "Mitchell" on the sitcom, posted an Instagram picture on Monday of Vergara slouched and snoozing in a chair, with her arms wrapped around her and a white napkin covering her face.

"Sofia napping. 1," Ferguson wrote in the photo's caption. Then Ferguson posted another picture of him sitting on the chair next to the sleeping Vergara, smiling at the camera.

But the fun did not stop there. Co-star Ty Burrell, who plays "Phil," photobombed the 41-year-old actress in another Instagram photo the same day.

Then Eric Stonestreet, whose character "Cam" is Ferguson's TV partner, posed with two thumbs up in another Instagram photo. Vergara was still sleeping, with an iPhone in her lap and the napkin still on her face.

The cast saved the best for last- Julie Bowen, who plays "Claire," took the prank a step further by posing with a white napkin covering her face while leaning back, mimicking Vergara's posture.

When Vergara found out what her co-stars did she shared the pictures on her WhoSay and Instagram account.

"Never take a little nap around this people again!!!" Vergra, who was nominated for a Screen Actors Guild Award, wrote when she reposted the pictures.

"Modern Family," currently in its fifth season on ABC, won an Emmy last year for best comedy series for the fourth year in a row.