How to use only the needed result of raycastAll?

Hello @yaustar!

I think you mean the function in this post?

Can you tell me where (or how) I have to use that function?

Or do I only need the scripts in the project?