How many ways does UnrealEngine select a object?

Use Get Hit Result Under Cursor by Channel to get the object under the mouse, or LineTraceByChannel for a specific direction.