Camera UI Button Not Working

So I got to making a UI that controls the cameras but the UI is not responsive. I created on click events and programmed the buttons to set the view to a particular camera but the button is not interactable for some reason. The print script does not even return, meaning the button isn’t even registering being clicked. Am I missing something here?