# How do i make variables in game

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-variables-in-game/373962>\
**Category:** Blueprint\
**Tags:** how-to, how-do-i, unreal-engine, editor, UE4, Blueprint, question\
**Created:** [October 20, 2016, 7:59pm UTC](https://forums.unrealengine.com/t/how-do-i-make-variables-in-game/373962 "2016-10-20T19:59:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![678GUY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@678GUY](https://forums.unrealengine.com/u/678GUY)\
**Post date:** [October 20, 2016, 7:59pm UTC](https://forums.unrealengine.com/t/how-do-i-make-variables-in-game/373962/1 "2016-10-20T19:59:27Z")

</div>

i have made someting you type in it and when you press enter it sends the string i want to make a var for everytime i press enter with this string in game while playing how do i this ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_21ba43ad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_21ba43ad](https://forums.unrealengine.com/u/anonymous_user_21ba43ad)\
**Post date:** [October 20, 2016, 9:12pm UTC](https://forums.unrealengine.com/t/how-do-i-make-variables-in-game/373962/2 "2016-10-20T21:12:57Z")

</div>

Maybe what you want is an array of strings. You can turn any variable into an array AFAIK. So just make a string variable and then click on the little grid next to the variable type I think. Then you can use it to store as many strings as you want.

---

<div class="post-metadata">

**Author:** ![678GUY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@678GUY](https://forums.unrealengine.com/u/678GUY)\
**Post date:** [October 20, 2016, 9:21pm UTC](https://forums.unrealengine.com/t/how-do-i-make-variables-in-game/373962/3 "2016-10-20T21:21:13Z")

</div>

thank you
