Check out example codes for "unity collider2d contains point". It will help you in understanding the concepts better.

Code Example 1

collider2D.OverlapPoint(point);

Learn ReactJs, React Native from akashmittal.com