title: How to make sure that the monster is not in the circle?
body: <p>I have a sketch 
  <a href="https://codepen.io/korolariya/pen/KXQaJK?editors=0011" rel="nofollow noreferrer">https://codepen.io/korolariya/pen/KXQaJK?editors=0011</a></p>
  
  <pre><code> update(){
      if(!this.prey){    
        return;
      }
      let p = this.calcPointInCircle(this.prey.position,this.lake.position,this.lake.radius);
      this.goToPoint(p);
    }
  </code></pre>
  
  <p>The monster must pursue the victim without entering the circle.</p>
  
  <p>Now it moves linearly to the point closest to the fisherman on the circle.</p>
  
  <p><a href="https://i.stack.imgur.com/hAcvQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hAcvQ.jpg" alt="enter image description here"></a></p>