Proper use of ToF-Sensor (Time of Flight Sensor)

As far as I know, the ToF sensor can measure distances. So it could generate a ( probably pixelated) black and white image, e.g. black for far away and white for close. Are there apps that can access the ToF sensor? After all, it is built into the Fairphone 4 and it would be nice to be able to use its full potential.