Detect objects with the camera's central crosshair

Hi everyone!

I’m wondering if there’s a way to make the camera detect objects when they’re inside the yellow circle of the crosshair (in this case, the circle is in a UI), as shown in the example below:

I don’t know some game concepts, so I don’t know where to start. I appreciate any help.

Im not 100% sure, but I think a raycast could work. Ray Casting | PlayCanvas Developer Site

1 Like

I did something similar to this with collision triggers. This is my project.

Ravioli Burglar Simulator by 18 Aliens (itch.io)

Just play the tutorial and press R to use the tracker, if thats the sort of thing you are looking for I can certainly help.