pick up and drop with line trace

How do I so that I can only put 1 cube in a boxdelivery? or would this break everything?