Behavior Trees

I have a question: how would I use my Flashlight Trace and Blueprint interface to work with this tutorial I found so that when I turn on my flashlight and point it at the enemy, the zombie runs off? I have all of it set up except for getting the zombie to react and unreact to the trace and blueprint interface. I was wanting something similar to the Volatiles in Dying Light. even if I don’t use the interface to do it.

I Followed this tutorial
Zombie AI in 11 MINUTES | Unreal Engine 5

Here is the trace information It relies off a branch telling it that the flashlight is on to be able to do the trace and the interface to call it