How would I toggle between two AI perception components?

My goal is to allow the player to hide in the dark by turning their flashlight off. The enemy ai has two AI perception components, one that can see 1000m and one that has no sight sense at all. How would I make it so that toggling the flashlight on/off also toggles between two AI perception components within the enemy ai?


Here is my third person character BP


this is the enemy ai, to me this logically makes sense but what am i doing wrong?