Hi everyone. I’m trying to make a button that when it is pressed it will change my game perspective. So I did it with keyboard button and it works well.
Create a Custom Event in the Third Person Character (TPC) blueprint and hook it up to the same nodes as the V key.
In the widget, Get Player Character, cast to TPC, call the aforementioned event.
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.