A sensor device, comprising: - an array of photodetectors, - a readout circuit connected to the array of photodetectors and providing dedicated readout paths for each photodetector in the array, respectively, further comprising at least one control terminal, - an array of time-to-digital converters (TDC1, TDC2, TDC3, TDC4) electrically connected to converter output; terminals (TDC_OUT) of the readout circuit wherein: - depending on a control signal to be applied at the at least one control terminal, the readout circuit is arranged to electrically connect through the readout paths of photodetectors of a first subarray to the converter output terminals (TDC_OUT) of the readout circuit, respectively, thereby rendering the photodetectors of the first subarray active and photodetectors of a second subarray inactive; wherein: - the readout circuit is arranged to shift the first subarray along the rows and/or columns by a same number of row positions and/or column positions, the sensor device being characterized in that the readout circuit comprises: - at least one row shifting unit arranged to shift the first subarray along the rows relative to the array of photodetectors, and - at least one column shifting unit arranged to shift the first subarray along the columns relative to the array of photodetectors, wherein the at least one column shifting unit is connected in series with the at least one row shifting unit, the readout circuit further comprising - a cascade of row shifting units including the at least one row shifting unit and connected in series, wherein each row shifting unit in the cascade is arranged to shift the first subarray along the rows relative to the array of photodetectors by a different number of row positions, and/or - a cascade of column shifting units including the at least one column shifting unit and connected in series, wherein each column shifting unit in the cascade is arranged to shift the first subarray along the columns relative to the array of photodetectors by a different number of column positions. - an array of photodetectors, - a readout circuit connected to the array of photodetectors and providing dedicated readout paths for each photodetector in the array, respectively, further comprising at least one control terminal, - an array of time-to-digital converters (TDC1, TDC2, TDC3, TDC4) electrically connected to converter output; terminals (TDC_OUT) of the readout circuit - depending on a control signal to be applied at the at least one control terminal, the readout circuit is arranged to electrically connect through the readout paths of photodetectors of a first subarray to the converter output terminals (TDC_OUT) of the readout circuit, respectively, thereby rendering the photodetectors of the first subarray active and photodetectors of a second subarray inactive; - the readout circuit is arranged to shift the first subarray along the rows and/or columns by a same number of row positions and/or column positions, the sensor device being characterized in that the readout circuit comprises: - at least one row shifting unit arranged to shift the first subarray along the rows relative to the array of photodetectors, and - at least one column shifting unit arranged to shift the first subarray along the columns relative to the array of photodetectors, wherein the at least one column shifting unit is connected in series with the at least one row shifting unit, the readout circuit further comprising - a cascade of row shifting units including the at least one row shifting unit and connected in series, wherein each row shifting unit in the cascade is arranged to shift the first subarray along the rows relative to the array of photodetectors by a different number of row positions, and/or - a cascade of column shifting units including the at least one column shifting unit and connected in series, wherein each column shifting unit in the cascade is arranged to shift the first subarray along the columns relative to the array of photodetectors by a different number of column positions. - at least one row shifting unit arranged to shift the first subarray along the rows relative to the array of photodetectors, and - at least one column shifting unit arranged to shift the first subarray along the columns relative to the array of photodetectors, wherein the at least one column shifting unit is connected in series with the at least one row shifting unit, the readout circuit further comprising - a cascade of row shifting units including the at least one row shifting unit and connected in series, wherein each row shifting unit in the cascade is arranged to shift the first subarray along the rows relative to the array of photodetectors by a different number of row positions, and/or - a cascade of column shifting units including the at least one column shifting unit and connected in series, wherein each column shifting unit in the cascade is arranged to shift the first subarray along the columns relative to the array of photodetectors by a different number of column positions. - a cascade of row shifting units including the at least one row shifting unit and connected in series, wherein each row shifting unit in the cascade is arranged to shift the first subarray along the rows relative to the array of photodetectors by a different number of row positions, and/or - a cascade of column shifting units including the at least one column shifting unit and connected in series, wherein each column shifting unit in the cascade is arranged to shift the first subarray along the columns relative to the array of photodetectors by a different number of column positions.