The principle possibility for the use of the SLOpes Detection And Ranging (SLODAR) method for the determination of the positions of optical elements is demonstrated. The results of a numerical simulation are presented; they provide the possibility of using the correlation function of the local wave front slopes of two reference radiation sources for the determination of the positions of one or a few phase screens. The simulation results are shown to qualitatively and quantitatively agree with the experimental results. A modification of the method to allow for the determination of the positions of thick optical elements (such as lenses) is discussed.