Line of Sight to doesnt work

My AI Actor should only able to move if the Player doesnt see it. Now i made a “Line Of Sight To” and a Boolean. But the AI also doesnt move if the player looks away. What is my mistake?