Do you prefer your cat to be kept to the garden? An is your garden fenced?
I don't have cats, but I do have guinea pigs an a new rabbit, I also have a ton of wild birds come into the garden so to keep them all safe I have those spikes for the top of the fence, you can get like rubber ones, then along the bottom it's all mesh fence since there's a gap between my fence an the ground, keeps my neighbours cat from getting into the garden
Also you might not know this, but if your cat ever needs veterinary treatment an it's because the neighbours cat has come in, then you are entitled to have the neighbour pay because technically it was trespassing on your property, I know of people who's cats an dogs have went onto another's property an hurt their animal be told they need to pay the vet bill that their animal has caused