Show distance between Objects when attached to wall

Have you seen this? https://hofk.de/main/discourse.threejs/2019/MesureDistance/MesureDistance.html

https://hofk.de/main/discourse.threejs/2019/ClickLength/ClickLength.html (look at console)

See Collection of examples from discourse.threejs.org 2019