I have had questions about how to use raytrace inside of VR to click a button. Here is the blueprint I came up with:
The mode active variable is a boolean that toggles whether my button is being pressed or not, and all this logic is within the Event tick, so this logic fires on every frame when the "mode tool active" is true. After break hit result, I check to see that I am hitting the right thing by using a "cast to." In this case, I set up a blueprint button called quitButton_bp. If that is what is hit, the rest of the logic will go. In this case it is to change some text in my scene, but you could make it jump to a new level, quit game, etc.