# For some reason, changing the variable does not work

**URL:** <https://community.thunkable.com/t/for-some-reason-changing-the-variable-does-not-work/3465846>\
**Category:** Questions about Thunkable X\
**Tags:** variables\
**Created:** [January 10, 2025, 2:24pm UTC](https://community.thunkable.com/t/for-some-reason-changing-the-variable-does-not-work/3465846 "2025-01-10T14:24:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![viyfeel74w7ar](https://avatars.discourse-cdn.com/v4/letter/v/9de053/32.png) [@viyfeel74w7ar](https://community.thunkable.com/u/viyfeel74w7ar)\
**Post date:** [January 10, 2025, 2:24pm UTC](https://community.thunkable.com/t/for-some-reason-changing-the-variable-does-not-work/3465846/1 "2025-01-10T14:24:35Z")

</div>

For some reason, changing the variable does not work.  
At the same time, the value to which it needs to be changed is calculated and output separately fine. But when changing on this value, the code reacts as if it is empty.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/2/32fa9511164127656c851702b35c5d7f9b945af5.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 10, 2025, 2:45pm UTC](https://community.thunkable.com/t/for-some-reason-changing-the-variable-does-not-work/3465846/2 "2025-01-10T14:45:28Z")

</div>

Hi and welcome to Thunkable!

The problem is that you are using a variable where the name of a variable should be. The `change app variable " "` block is expecting a text string such as “cromen” but you are giving it _the value_ of `app variable cromen` instead.

The solution is to not use the set or change app variable blocks at the bottom of the Variables drawer and instead only use the ones at the **top** that have a drop-down menu for choosing an existing variable.

---

<div class="post-metadata">

**Author:** ![viyfeel74w7ar](https://avatars.discourse-cdn.com/v4/letter/v/9de053/32.png) [@viyfeel74w7ar](https://community.thunkable.com/u/viyfeel74w7ar)\
**Post date:** [January 10, 2025, 2:55pm UTC](https://community.thunkable.com/t/for-some-reason-changing-the-variable-does-not-work/3465846/3 "2025-01-10T14:55:47Z")

</div>

Thanks. It worked. )

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 10, 2025, 2:56pm UTC](https://community.thunkable.com/t/for-some-reason-changing-the-variable-does-not-work/3465846/4 "2025-04-10T14:56:29Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
