how to get vector length to have a delay for AI tracking

hello, starting a new project and its my first time working with AI, I’m having trouble because I want the AI to move towards the player but after its close enough I want the AI to move towards the players location then wait a second, then move towards the player again.

and insight would be super cool ill post screen shots and a video if I can!

any help would be Awesome thank you!