Buttons and variables?

can buttons take variables?

right now I’m trying to pass a string into a buttons text field
with: this.button_btn.one_txt.text = “hey”;

it doesn’t work, and the path is right? is there something special i need to do?

thanks