can get distance to point point lineby that, you can get angle so have tolerance threshold to get interactive three.jshttps://threejs.org/docs/#api/en/math/Ray