I had the same problem in my front yard.
I bought lava rock & just sprinkled in thru the flowers, no more cats in the flower bed-it has been 3 years & still no cats in the yard.
The moth ball...