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.
pymnet
local-database
agconnect-functions
get-filehash
shadow-root
pygooglenews
sap-gui
synology
utest
docker.dotnet
aria2
autocommit
customdialog
domcrawler
preemption
pusher
airtag
kong-plugin
file-permissions
firefox-headless
fasta
autofaker
junit5-extension-model
kotlin-dokka
netbeans-platform
right-click
public-key-exchange
bcnf
kernighan-and-ritchie
executiontimeout