Want AI to stop moving when looked at

Im trying to make an AI that moves only when not seen, like SCP173. Ive currently got it not moving when looked at, but when I look away and then quickly turn back, I see it move and it doesn’t stop until it reaches me. I think thats due to the built-in moveTo that I use. Is there any way to make it stop if it is looked at?

  • List item