Former president Barack Obama and former vice president Joe Biden pushed Sunday for more to be done on reducing gun violence in America following the horrific mass shooting at a church in Texas.

On Sunday, a gunman identified by Texas authorities as Devin Kelley opened fire on a church in Sutherland Springs, Texas, killing 26 people. Among those, 12 to 14 were children, and an additional 20 people were hospitalized with injuries.

Texas church shooting:What we know now

After the shooting, former president Obama responded with condolences for the victims, while endorsing the need to take measures to prevent similar attacks from happening.

"We grieve with all the families in Sutherland Springs harmed by this act of hatred, and we’ll stand with the survivors as they recover," said Obama on Twitter. "May God also grant all of us the wisdom to ask what concrete steps we can take to reduce the violence and weaponry in our midst."

Former vice president Joe Biden echoed Obama's response, urging action from lawmakers. "These tragedies aren’t inevitable," said Biden in a statement on Twitter. "Don’t let hopelessness win today. We must persist in our efforts to prevent gun violence."

During a press conference in Tokyo, part of a multi-stop trip through Asia, President Donald Trump said better mental health is the key issue in the shooting in Texas.

"I think mental health is the problem here," Trump said. "This isn't a guns situation."

Follow Brett Molina on Twitter: @brettmolina23.