Washington (CNN) In the aftermath of this weekend's mass shootings that killed at least 31 people, attention turned to what could be done to prevent something like this from happening again.

Among the solutions floated by President Donald Trump: red flag gun laws.

"We must make sure that those judged to pose a grave risk to public safety do not have access to firearms and that if they do, those firearms can be taken through rapid due process," Trump said in televised remarks from the White House on Monday morning. "That is why I have called for red flag laws, also known as extreme risk protection orders."

A red flag law enables those who have seen warning signs (aka red flags) to seek a court order to intervene and temporarily prevent someone who is in crisis from having access to a firearm. For example, under California's red flag law , it's legal for family members to ask a judge to remove firearms from a relative who appears to pose a threat.

The President did not elaborate further on what he meant in Monday's speech, so it is not clear if he was proposing a federal red flag law, endorsing an expansion of red flag laws across more states or simply advocating for better enforcement of the laws currently on the books.