Directional Light uses trace right?

How can i find how the directional light rays/photon work? i am trying to get an ai to move if the light from the directional light hits it.