# \[Solved\] Initial variable is not working

**URL:** <https://community.thunkable.com/t/solved-initial-variable-is-not-working/2742641>\
**Category:** Questions about Thunkable X\
**Created:** [December 7, 2023, 8:34pm UTC](https://community.thunkable.com/t/solved-initial-variable-is-not-working/2742641 "2023-12-07T20:34:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 7, 2023, 8:34pm UTC](https://community.thunkable.com/t/solved-initial-variable-is-not-working/2742641/1 "2023-12-07T20:34:03Z")

</div>

Hello All,  
After a 6 month break I am back I see lot of changes to Thunkable. I ran into a strange issue with variables. I did see other people complaining about variables.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e43417ea60a24199f941fa0308e9916b879bad99.png)  
[https://x.thunkable.com/copy/e73605ba9c57c3870190bc7d61b327c6](https://x.thunkable.com/copy/e73605ba9c57c3870190bc7d61b327c6)  
ErrorDbgTxt gets 575 and not the sum of BufferHeight & NGZHeight. Please advice.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [December 7, 2023, 9:40pm UTC](https://community.thunkable.com/t/solved-initial-variable-is-not-working/2742641/2 "2023-12-07T21:40:19Z")

</div>

Hi @anandavardhana57zwwl thanks for reaching out.

Try using the other `set variable value` block, like in the blocks below. The one you have in your blocks is for dynamically named values. When I use that other `set variable value` block, `EndingHeight` returns 176.

 ![Screenshot 2023-12-07 at 4.37.55 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/f/7f9d6676e4b6daf27d914c9acc1d0194ea55303d.png)

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 7, 2023, 10:09pm UTC](https://community.thunkable.com/t/solved-initial-variable-is-not-working/2742641/3 "2023-12-07T22:09:28Z")

</div>

Thanks @matt_conroy. I am ashamed of myself for doing such a silly mistake. Sorry for cluttering the community forum. Coming after 6 months I should get my act together. Thanks again,

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [December 7, 2023, 10:23pm UTC](https://community.thunkable.com/t/solved-initial-variable-is-not-working/2742641/4 "2023-12-07T22:23:14Z")

</div>

No worries at all, happens to the best of us!

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [December 7, 2023, 10:23pm UTC](https://community.thunkable.com/t/solved-initial-variable-is-not-working/2742641/5 "2023-12-07T22:23:18Z")

</div>


