Unity's Raycast functions has a parameter you could use to raycast to a particular GameObject. You can also use that parameter to ignore particular GameObject.
outlook-2007
bzip2
nvidia-jetpack-sdk
typescript-eslintparser
gpu-warp
units-of-measurement
nvrtc
speech-to-text
mkmapviewdelegate
summarytools
aws-code-deploy
treegrid
eureka-forms
androidjunitrunner
python-ldap
font-awesome-6
r.java-file
permissionerror
canvas-lms
sysobjects
std-invoke
spoken-language
common-lisp
unificationengine
google-rich-snippets
pyqgis
google-data-catalog
windows-installer
google-maps-android-api-2
cypress