How can i add "look at object" as an condition when picking up an object?

Fire a line trace from the camera when you are in the area and compare the hit result of the trace with the object.