In order to determine features of the substrate, such as its layer thickness, critical dimension (CD) or overlay, a beam is reflected off the surface of the substrate, for example at an alignment target, and an image is created on a camera of the reflected beam.