If the response time required is not very small, then a digital calliper might be suitable. What length and resolution do you need?