Hit Result Using HUD Widget

Thanks for your time and patience.
I have a cross hair that is set to my HUD widget. I want to be able to detect a hit result if something passes under the cross hair. Is there a way to do this.
Thanks again

Deproject from widget’s screen location back to world, something like this should work just fine:

Sadly not what I was looking for. I need something that will return a hit result without a trace. Sphere trace gets smaller in relation to distance and line trace does not have enough area for an area hit. If there is a way to prevent sphere trace from reducing in size relative to distance and still return a hit result at distances that would be lovely.
Thank you so much tho will use this in the future :smiley:

Understood, linking your rephrased thread here, seems related.

I do not have a ready solution but you can have a look at this:

Once you have screen size of the object, you can compare it to the designated screen location and determine whether the two overlap. You will need to do a bit of reverse engineering here.

There might be an easier, more obvious way but I’m not aware of any ready-to-go solutions available for something like this.

Perhaps you could briefly describe what it’s going to be used for. It may shed some extra light on how things are supposed to work.