How to set the Vive Controller as a ruler?

Hey Guys. Trying to figure out how to use my HTC Vive controller as a ruler.
I want to get some measures while I pull and realease the the trigger. Any ideas?
Thanks!

All you really need to do is use a linetrace from the controller that is enabled when you press the button, and when you release that button it shoots another line trace, then you subtract the two hit locations from eachother and get the length of the vector, this will give you the distance between the two points in unreal units (centimeters)