See if this clarifies things a bit:
- interface function returning an enumerator and actor reference:
- line trace interact with the pickup:
- line trace interact with the box:

- input in the pawn:
- result:
This can be made much simpler but I sense you will want a system that can expand a bit since you have a bunch of shelving units in the vid. Hard to advise better without knowing the required features but what is suggested above should be agnostic enough.
See if you can implement something similar.
Good luck!


