You can drag the circle. If the variable equal 1 then there is a collision. Notes: You can extend the script to account for spheres very easily. The script doesn't break with edges it is just that your mouse position is limited by scratch. Free to use, no credit needed