# How “When variable \_\_\_\_ initialize or change” component works?

**URL:** <https://community.thunkable.com/t/how-when-variable-initialize-or-change-component-works/590643>\
**Category:** Questions about Thunkable X\
**Created:** [May 28, 2020, 2:55pm UTC](https://community.thunkable.com/t/how-when-variable-initialize-or-change-component-works/590643 "2020-05-28T14:55:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![altsoftcode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/altsoftcode/32/62708_2.png) [@altsoftcode](https://community.thunkable.com/u/altsoftcode)\
**Post date:** [May 28, 2020, 2:55pm UTC](https://community.thunkable.com/t/how-when-variable-initialize-or-change-component-works/590643/1 "2020-05-28T14:55:40Z")

</div>

Hi,

I would like to understand if the component “When variable \_\_\_\_ initialize or change” works just if the variable change in the same screen or if it works when the variable is changed in a diferent screen.

In my case i have a timer.  
In screen A the i have the “when timer fires” component to set a variable value.  
In screen B i have the “When variable \_\_\_\_ initialize or change” component but nothing happens!

Thank you.

---

<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 8, 2020, 1:20pm UTC](https://community.thunkable.com/t/how-when-variable-initialize-or-change-component-works/590643/2 "2020-06-08T13:20:34Z")

</div>

Hey @altsoftcode

Do you mind sharing a screenshot of your blocks? It sounds like your implementation _should_ be working.

---

<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:27am UTC](https://community.thunkable.com/t/how-when-variable-initialize-or-change-component-works/590643/3 "2024-11-08T11:27:42Z")

</div>


