If you want to know whether a ray does NOT hit you could simply use a control variable that is set to something different in an event with "On any hit" condition.
So if it remained at its original value that would mean there was no hit detected.
Let me know if I'm misunderstanding your question.