This example shows how to read one mouse coordinate. Moving the mouse left and right shifts the sizes of two rectangles.