Despite the fact that cats are pets, they can harm plants no less than rodents or other pests.
Neighbors or their cats use the beds as a tray, trample on plants and dig flower beds.
One of the most effective means is water sprinklers. Since cats don't like water, they will avoid your garden.
Some sprinklers work automatically and release a jet of water exactly at the target. Another option is to scare away cats with water yourself. For example, from a hose.
Some traps use ultrasound, which also responds to nearby movements. The high-frequency signal scares away cats, but is practically not perceived by the human ear.
Another way is aromatic repellents. Some of them contain the substance that makes chili peppers hot - capsaicin. Others include the smell of predator urine, which scares away cats.
Scented repellents are washed off by rain and need to be reapplied every week.
In addition, you can create a repeller with your own hands. Cats don't like the smell of citrus. Try using orange essential oil in the garden.