Drag around dots! I used line equation to detect it. You may use this with credit! :D
Code & Algorithm 100% by me!