an alternative to ray ?

I was wondering If I could use someting different than ray to know if the element is seen by an other one ? a computed one maybe

I’ve worked a little bit with c and c-script so maybe you know how trace works? but I was looking for something similar.

we have a radar, and near sensor that may be of use to you.

radar and near are both cool but you cannt use them as trace I mean to know if a object can see an another object you might define the axis but it the axis is set XY it’s impossible you 'll need to make the object track the other one.