2D side scroller (Picking up Objects)

Im creating a 2D puzzle game and I want the character to be bale to pick up box that can be used to solve puzzles.
I have tried doing the object pickups with the camer using line tracing however had no success.

P.s Im new to UE4, so if you can help can you dumb it down a bit. Thanks