How to press a button through UMG Widget

This video may help you. I create a button that affects player health when it is clicked. Just replace the script changing the health to a script that changes your view and you are good to go.