Non overlapping shapes

I have a bunch of rectangles to fit in a bigger rectangle(like a jigsaw puzzle). I need to drag around these rectangles without overlapping each other. Can anyone suggest something? I looked around for a property of shapes that could make them non-overlappable but couldn’t find anything.

Not a way I know of preventing you from drawing over an adjacent shape.

Once you get your shapes how you want them, you can group them as one object and drag, rotate, stretch, etc as one item.