Welcome › Forums › Get help › How do I set a counter in a textbox? › Reply To: How do I set a counter in a textbox?
November 29, 2021 at 2:19 am
#51794
![](https://rpgplayground.com/wp-content/uploads/avatars/60461/1658962073-bpfull.png)
Participant
I meant this:
Say you have a certain amount of gold, say, 36.
Maybe you want to spend that gold in the shop, but you don’t know how much gold you have. You go to the shop, and the shopkeeper tells you that you have 36 gold.
Now, you spend 5 gold on an item. You interact with the shopkeeper again, and he states that you have 31 gold.
Now, you kill a bad guy and get 3 gold. You speak with the shopkeeper again, and he says that you have 34 gold.
And the textbox constantly tracks how much gold you have.
How do I do that?