I don’t know what it’s supposed to do Looks like a random attempt to do what exactly?
visible headscratches Not sure what’s the use-case scenario here. There may be some.
If you want to trace cursor depth from the camera: