Debra Messing has apologized for a selfie she posted amid breaking news of a shooting on the UCLA campus.
Two males were killed in an apparent murder-suicide on the California college campus on Wednesday, according to the Los Angeles Times, which also reports that classes have been canceled for the day after a campus-wide lockdown was lifted.
"The campus is now safe," said LAPD police chief Charlie Beck at a news conference on Wednesday afternoon. "The issue that occurred has been contained."
While Messing was participating in a pre-planned campaign aimed at raising awareness of gun violence, she apparently saw news of the shooting, and posted, then subsequently deleted, a selfie, writing, "HORRENDOUS Watching news about shooting at UCLA with casualties while taking selfie to bring awareness to gun violence."
After deleting the photo and receiving backlash from Twitter, Messing posted several messages to clarify, writing, "Take a stand. This day was predetermined as a day of awareness. Don't belittle the effort. #wecandobetter."
— Debra Messing✍🏻 (@DebraMessing) June 1, 2016
The 47-year-old actress tweeted out a subsequent message on the incident, which read, "I was so shocked and struck by the horrible IRONY that yet another shooting was occurring as I was participating in this effort... In an effort to highlight the irony, I posted a picture referencing the breaking news."
"I am heartbroken and embarrassed that many people misconstrued my actions and that I caused offense," she continued. "The horrendous irony of the timing, I was hoping, would shine an even brighter light on the crisis and need for all of us to do something together to make the US safer. I am so truly sorry."
Meanwhile, many in Hollywood took to social media as the shooting news was unfolding.
Neighbors 2 star Chloe Grace Moretz wrote, "UCLA school shooting, When is enough enough. It's time to change our gun laws and change America."
UCLA school shooting, When is enough enough. It's time to change our gun laws and change America
— Chloë Grace Moretz (@ChloeGMoretz) June 1, 2016
Daredevil star Rosario Dawson tweeted, "Thoughts and prayers of safety for everyone on UCLA campus...!"
Thoughts and prayers of safety for everyone on UCLA campus...! 💜💜 https://t.co/A0994MHrMw
— Rosario Dawson (@rosariodawson) June 1, 2016
Electronic musician Zedd also reached out on Twitter, writing, "Absolutely disgusting to read about what's happening at UCLA right now. Hoping everyone stays safe."
absolutely disgusting to read about what's happening at UCLA right now.
hoping everyone stays safe.
— Zedd (@Zedd) June 1, 2016
And UCLA alum Gabrielle Union wrote, "Prayers up for UCLA! #Bruin'96."
RELATED: Debra Messing through the years: