Snap to Z/ drag and drop game

If I understand well your needs, than you simply have to set a constrain plain to your box…
Go to actor details, Physics, set constrain to XYPlane, this way it will not have any motion on Z, while still can be a physical dynamic object with collisions.

Is like making a 2D gameplay, but in your case with 3D objects.