When you click on the square it will attach itself to the mouse
While the mouse button is held you can drag the square
When you release it will drop the square