Download

Pickup Objects

Hi, i have create a Crosshair with a HUD. How can i detect, if a Object is selectet with the Crosshair ?

Thnx…

If you are using a camera component, run a line trace from the camera component.

https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/

When you break the hit result, you can find out what actor was hit, and set that to a variable

Maybe my answer here may help you
https://answers.unrealengine.com/questions/333813/picking-up-items-with-a-line-trace.html