# Conflict with local variables

**URL:** <https://community.thunkable.com/t/conflict-with-local-variables/30855>\
**Category:** Questions about Thunkable X\
**Created:** [June 9, 2018, 11:42am UTC](https://community.thunkable.com/t/conflict-with-local-variables/30855 "2018-06-09T11:42:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [June 9, 2018, 11:42am UTC](https://community.thunkable.com/t/conflict-with-local-variables/30855/1 "2018-06-09T11:42:55Z")

</div>

If you use a slider-block there is a local variable value.  
If you insert i.e. a local storage block there is a local variable with the same name value.  
I did not find a method to give these local variables different names.  
So if you need both local variables of a block with another block included, you run into problems.  
What did i do wrong? Or is it really a problem?  
Normally you can rename variables. But for me that did not work with local variables.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [June 9, 2018, 11:47am UTC](https://community.thunkable.com/t/conflict-with-local-variables/30855/2 "2018-06-09T11:47:50Z")

</div>

You are right, so you need to create a variable block, for example, “tmp” and attach the first “value” block to it. After that you can work with “tmp” and the second block value.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [June 11, 2018, 7:22pm UTC](https://community.thunkable.com/t/conflict-with-local-variables/30855/3 "2018-06-11T19:22:45Z")

</div>

Thanks for pointing out the issue with the local variables. I’ll make sure that it is in our bug queue.

-Mark

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:02pm UTC](https://community.thunkable.com/t/conflict-with-local-variables/30855/4 "2024-11-08T12:02:30Z")

</div>


