The idea here is that every 2 seconds (or whatever) the enemy checks line-of-sight to make sure player is still in sight and if not goes back to patrolling. This allows the player to outrun or hide from the enemy. It might be better to do this in the behavior tree but these are in the enemy blueprint.