Maps pointer scale to z location.