# Dynamic button text blueprint

**URL:** <https://forums.unrealengine.com/t/dynamic-button-text-blueprint/444040>\
**Category:** UI\
**Tags:** text, unreal-engine, onclicked, Blueprint, question, UMG\
**Created:** [February 24, 2019, 1:25pm UTC](https://forums.unrealengine.com/t/dynamic-button-text-blueprint/444040 "2019-02-24T13:25:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![panserzap](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@panserzap](https://forums.unrealengine.com/u/panserzap)\
**Post date:** [February 24, 2019, 1:25pm UTC](https://forums.unrealengine.com/t/dynamic-button-text-blueprint/444040/1 "2019-02-24T13:25:10Z")

</div>

So basically i have created a button and i want each time the button is clicked to change the text of the button. I can’t seem to be able to make it get the next value from the array that has the texts. So this is what i have :

 ![269449-my-bp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/8/bd860615a301d33a71e5ffb9bbda43beacb1e718.png)

The thing is that the variable Randomer will not increase.  
Questions asked default value is 0 and so is Randomer’s.  
What am i doing wrong?  
Thank you in advance!!!🙂

---

<div class="post-metadata">

**Author:** ![panserzap](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@panserzap](https://forums.unrealengine.com/u/panserzap)\
**Post date:** [February 24, 2019, 1:45pm UTC](https://forums.unrealengine.com/t/dynamic-button-text-blueprint/444040/2 "2019-02-24T13:45:28Z")

</div>

So i am very blind , i solved it , i wasn’t changing the questions asked variable so 0+1 will always be 1 that was my mistake.
