I used Pythagorean Theorem to measure the distance between the circles. I'm going to make a platformer with this.