UI Buttons not triggering?

So it looks like the buttons work, they don’t show the pulse but they will trigger a print string.

So its just the variables that aren’t being set. shouldn’t I be able to set my variables in this manner?