# How do I change it?

**URL:** <https://forums.fusetools.com/t/how-do-i-change-it/4720>\
**Category:** How-to Discussions\
**Created:** [March 7, 2016, 7:11am UTC](https://forums.fusetools.com/t/how-do-i-change-it/4720 "2016-03-07T07:11:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Onur\_Baran](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/onur_baran/32/127_2.png) [@Onur\_Baran](https://forums.fusetools.com/u/Onur_Baran)\
**Post date:** [March 7, 2016, 7:11am UTC](https://forums.fusetools.com/t/how-do-i-change-it/4720/1 "2016-03-07T07:11:48Z")

</div>

Hi,

The `switch` to the open position or closed according to the value of the `slider` how do I change it?

For example;

- `if (slider.value == 0) { switch.value = false; }` then refresh page.
