# The "when initialize or changes" block is not executed for quick changes to values

**URL:** <https://community.thunkable.com/t/the-when-initialize-or-changes-block-is-not-executed-for-quick-changes-to-values/590730>\
**Category:** Questions about Thunkable X\
**Created:** [May 30, 2020, 5:17am UTC](https://community.thunkable.com/t/the-when-initialize-or-changes-block-is-not-executed-for-quick-changes-to-values/590730 "2020-05-30T05:17:26Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [May 30, 2020, 5:17am UTC](https://community.thunkable.com/t/the-when-initialize-or-changes-block-is-not-executed-for-quick-changes-to-values/590730/1 "2020-05-30T05:17:26Z")

</div>

On my Android 9 in Live after running the loop, the value of the variable pos = 0. Should this be the case? My personal opinion is that this is a bug, because if the project uses a block, it should work, but now it looks like the variable listener doesn’t work.

![изображение](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/9/4996c03a246a0433389cd0ae9d19f7b8dd4aabe4.png)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 30, 2020, 9:26am UTC](https://community.thunkable.com/t/the-when-initialize-or-changes-block-is-not-executed-for-quick-changes-to-values/590730/2 "2020-06-30T09:26:46Z")

</div>

Hey @actech,

I wouldn’t have thought the value here would be 0 - but you may need to add in a `wait` block to give the variable a chance to update.

Have you filed a bug report about this?

Thanks.

---

<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, 11:25am UTC](https://community.thunkable.com/t/the-when-initialize-or-changes-block-is-not-executed-for-quick-changes-to-values/590730/3 "2024-11-08T11:25:18Z")

</div>


