# Buttons and variables?

**URL:** <https://forum.kirupa.com/t/buttons-and-variables/191232>\
**Category:** Uncategorized\
**Created:** [June 18, 2006, 11:11pm UTC](https://forum.kirupa.com/t/buttons-and-variables/191232 "2006-06-18T23:11:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halfwitt](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/halfwitt/32/1881_2.png) [@halfwitt](https://forum.kirupa.com/u/halfwitt)\
**Post date:** [June 18, 2006, 11:11pm UTC](https://forum.kirupa.com/t/buttons-and-variables/191232/1 "2006-06-18T23:11:46Z")

</div>

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
