I have been researching but I find it so hard to find a code or function to detect collision between two circles basically .
I used the code for how I would normally