1. Click to draw polygon 2. Move your mouse to check whether the circle and the polygon collide.
Thanks to @scratch1q for circle - line collision.