How to make a squiggly button

I want to make squiggly buttons that works like what it’s supposed to without checking for every pixel in the squiggly button.
I also would like to stack them up like clicking on countries within borders.
What is the simplest way to do this?