How can I set camera?

I created I camera. I want to change it when I press the button in widget. Set View Target with Blend works only in level bp. How can I run it in widget.

Ok. I solved it https://i.ibb.co/kyrnSKn/cax.png