# Can't change Observable var

**URL:** <https://forums.fusetools.com/t/cant-change-observable-var/7630>\
**Category:** How-to Discussions\
**Created:** [February 8, 2019, 1:03pm UTC](https://forums.fusetools.com/t/cant-change-observable-var/7630 "2019-02-08T13:03:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![N3X](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/n3x/32/819_2.png) [@N3X](https://forums.fusetools.com/u/N3X)\
**Post date:** [February 8, 2019, 1:03pm UTC](https://forums.fusetools.com/t/cant-change-observable-var/7630/1 "2019-02-08T13:03:51Z")

</div>

Im trying to show status bar on var change, but i cant make it, i tried with isOn.value etc etc but without success  
still at the start saying its False ![42](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/fusetools1/original/1X/e1f91e547ed10db9157f54730998b4c3823208cc.png)

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [February 8, 2019, 1:20pm UTC](https://forums.fusetools.com/t/cant-change-observable-var/7630/2 "2019-02-08T13:20:56Z")

</div>

Should share some actual code and not just image.

You didn’t declare isOn, so showNow won’t affect it…

```auto
var isOn = Observable(false);
function showNow() {
  isOn.value = true;
}
module.exports = {
  isOn: isOn
};

```

---

<div class="post-metadata">

**Author:** ![N3X](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/n3x/32/819_2.png) [@N3X](https://forums.fusetools.com/u/N3X)\
**Post date:** [February 8, 2019, 1:28pm UTC](https://forums.fusetools.com/t/cant-change-observable-var/7630/3 "2019-02-08T13:28:41Z")

</div>

> [@aeq](#):
>
> var isOn = Observable(false); function showNow() { isOn.value = true; } module.exports = { isOn: isOn };

Still not work 😂the red button is where i click

 ![13](https://canada1.discourse-cdn.com/flex035/uploads/fusetools1/original/1X/7ecfa1a4e00a7e46a314665d28f185d8913a36e4.png) ![06](https://canada1.discourse-cdn.com/flex035/uploads/fusetools1/original/1X/d951d4c56e83345e2ec411aca921702d1e2f1c01.png)

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [February 8, 2019, 1:40pm UTC](https://forums.fusetools.com/t/cant-change-observable-var/7630/4 "2019-02-08T13:40:42Z")

</div>

my bad, forgot to export the “showNow” function:

```auto
var isOn = Observable(false);
function showNow() {
  isOn.value = true;
}
module.exports = {
  isOn: isOn,
showNow: showNow
};

```

---

<div class="post-metadata">

**Author:** ![N3X](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/n3x/32/819_2.png) [@N3X](https://forums.fusetools.com/u/N3X)\
**Post date:** [February 8, 2019, 1:43pm UTC](https://forums.fusetools.com/t/cant-change-observable-var/7630/5 "2019-02-08T13:43:17Z")

</div>

> [@aeq](#):
>
> var isOn = Observable(false); function showNow() { isOn.value = true; } module.exports = { isOn: isOn, showNow: showNow };

Thanks it worked, damn we also need export the functions XD i would never find out
