Question regarding Daydream controller

Hopefully somebody can answer this question. The Daydream documentation is absolute trash and doesn’t explain how the motion controller pointer works.
How do you handle laser detection from the Daydream controller? Example being, I want to have an object that I can point at and click with the remote to make something happen only if I am within a certain distance of said object. Do you just blast a constant linetrace from the Google Motion Controller?