As you have seen, a good method for your cat not to scratch is to get a scratch scraper suitable to withstand scratches and even to provide it with its own, safe space that transmits comfort.
A good scraper should be at least 50 centimeters high, a good base and a sturdy pole made of quality materials.
For starters, you can count on a basic scraper. It is a simpler scraper that will help you know if your cat likes to scratch his nails on a scratcher or not.
You can also try a slightly bulkier scraper, with platforms and a small shelter or bed to combine filing your nails with resting.