How to use only the needed result of raycastAll?

Oke, then yes that is what I need. :yum:

So I have to past that code somewhere in my script?

How do I use it?