WASHINGTON — A bipartisan compromise on guns has cleared a procedural hurdle in the Senate, yet it’s not clear it will go any further.

The bill by moderate Republican Sen. Susan Collins of Maine survived a motion Thursday that effectively would have killed it on a 46-52 vote. Collins’ bill would block people on the no-fly list from getting guns, but provide an appeals process to allow them to challenge the denial.

In a written statement, Collins said the vote demonstrated “strong bipartisan support” for common sense legislation that would help keep guns out of the hands of terrorists, while protecting the Second Amendment rights of law abiding Americans.

“After many hours of negotiation and compromise, we built a strong coalition of Senators united in their desire to getting something significant accomplished. Together we reached an important compromise that centers on a simple premise: if you are too dangerous to fly and airplane, you are too dangerous to buy a gun,” Collins said.

“Out goal from the beginning has been simple and straightforward: we want to make America safer,” she added. “I’m very encouraged by today’s majority vote in support of our amendment and look forward to continuing to work with my colleagues on both sides of the aisle to advance this vital issue.”

Still, many Republicans say it doesn’t do enough to guarantee due process rights, and some support a competing measure by Republican Sen. Ron Johnson of Wisconsin. Johnson’s measure also would keep guns out of terrorists’ hands but requires the Justice Department to go to court to do it. Democrats and a few Republicans say that bar is too high to clear.

Johnson’s bill was effectively shelved on a 67-31 vote. But even though Collins’ bill survived, the vote showed it lacked the 60-vote margin usually needed to pass on the Senate floor.

Republican leaders indicated plans to move on to other topics.

No. 2 Republican Sen. John Cornyn says it’s time to do something “more constructive” as Democrats decried what they called show votes.

Sen. Angus King, independent-Maine, said in a statement that the vote on Collins’ bill was an “encouraging step” but could not be the end of the debate.

“This is about national security. This is about protecting our country by keeping guns out of the hands of terrorists. It’s straightforward. It’s simple. It’s common sense. And it does not infringe on Second Amendment rights. I will continue to work with my colleagues in the hope that we can move this measure through the senate without further delay,” King said.