GPS can precisely measure both horizontal and vertical motions. GPS and other instruments used to measure deformation may detect motion at a volcano before any earthquakes occur, and these changes in shape may accelerate immediately before an eruption, making GPS a valuable monitoring tool.