Multiple rectangle Click-and-Drag

Example code to allow user to click and drag objects using their mouse.