Vectors in three dimensions
You can drag the points A and B in the x-y plane. If you want to move a point in the z-direction, click it once which will change to 'z mode'. Click again to go back to 'xy mode'.
Information: Vectors in three dimensions