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.
waffle-chart
hyphen
coderunner
intel-galileo
activity-manager
undecidable-instances
wwdc21-10295
database-indexes
apollo-studio
web-animations-api
master-slave
android-settings
motoko
uivideoeditorcontroller
approximate
sphero
ptv-vissim
angular-testing-library
unique-array
idm
laravel-events
jpasswordfield
cascade-classifier
nestjs-exception-filters
tfs-process-template
ip-protocol
dwm
pipewire
flutter-integration-test
qvariant