# \[Solved\] How can I use the Switch Component?

**URL:** <https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [November 5, 2019, 10:44pm UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439 "2019-11-05T22:44:03Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [November 5, 2019, 10:44pm UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/1 "2019-11-05T22:44:03Z")

</div>

Sory if this is very basic… but I m not understanding how to use the switch to modify the accelerometer sensibility

I want to put medium or low sensibility (medium if switch = false and low if its on)

 ![1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/5/45a637be3270a7288b54b9e509899b2da1b7cd40.png)

---

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [November 5, 2019, 10:50pm UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/2 "2019-11-05T22:50:06Z")

</div>

If from Accelerometer1 get sensibility = medium  
do from Acceleromemter1 set Sensibility to low  
else fron Accelerometer1 set Sensibility to medium

Something like this,hope this help to you.

![Screenshot_2019-11-06_064857](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/5/d510a9ec1cb1484c9706f9f5c9e8e1cddbffc904.jpeg)

I forgot change it to small letter.

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [November 5, 2019, 11:30pm UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/3 "2019-11-05T23:30:59Z")

</div>

Thanks you very much, I dont know if I m doing something bad but it dont works…

 ![1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/b/db8e1e51de847679c92b29bfb94afa2a156c9471.png)

The first switch is fine, but when I switch off again it doesnt function

---

<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:** [November 6, 2019, 1:03am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/4 "2019-11-06T01:03:45Z")

</div>

Em…you only have 1 accelerometer on your device, is there some particular reason why you have so many in your blocks??

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [November 6, 2019, 1:08am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/5 "2019-11-06T01:08:25Z")

</div>

Yep, At first I tried to use just one, but with just one, it didnt function in all screens…

For example, I use it to reload the web viewer in different screens… but it only worked in the last screen that I configured the blocks So I had to create one accelerometer per screen, That worked well… Obviusly it would be great to use just one…

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [November 6, 2019, 1:25am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/6 "2019-11-06T01:25:37Z")

</div>

Hi, @Leito! 👋

These blocks might help you -

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/f/5fdb460ac26a7e5bb5e177d214f6088b8c54a420.png)

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [November 6, 2019, 4:43am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/7 "2019-11-06T04:43:13Z")

</div>

Thanks you Kartik! You always have a solution! But how can I complete that with the switch?

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [November 6, 2019, 5:38am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/8 "2019-11-06T05:38:50Z")

</div>

Just replace the **`screen opens`** block with your **`switch`** block 😉  
More precisely,

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/2/52860f5a1103f3402f14c94bc59d69057d2459d4.png)

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [November 6, 2019, 5:42am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/9 "2019-11-06T05:42:29Z")

</div>

Thanks you very much!!! @BlueWhaleYT @kartik14 I would like to give both of you the solution but I can put just one

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [November 6, 2019, 5:42am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/10 "2019-11-06T05:42:35Z")

</div>

## Thanks! 😊

Happy Thunking! 😄 🎉 👍

---

<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:** [November 6, 2019, 8:05am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/11 "2019-11-06T08:05:44Z")

</div>

Kartik,

I think you will be interested to see a simpler solution 🙂

![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/c/bc69e0aabc0d147631f0fade997aa8e1446df3de.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:** [November 6, 2019, 8:44am UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/12 "2019-11-06T08:44:51Z")

</div>

> [@Leito](#):
>
> I use it to reload the web viewer in different screens

Got it. Thanks for explaining. Another question then, I suppose, would be whether or not you need multiple screens with multiple webviewers? Why not just change the URL property?

---

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [November 6, 2019, 2:39pm UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/13 "2019-11-06T14:39:16Z")

</div>

Thanks for the attention but the fact of different Web Viewers is the idea of the App. I published today in Android and now App Store I hope it be approved in both of them 😃

PD: Thanks you @actech and @kartik14!! I will put both of you in my Thanks in social networks!!! (if do you want)

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [November 6, 2019, 2:47pm UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/14 "2019-11-06T14:47:14Z")

</div>

> [@Leito](#):
>
> Thanks in social networks!!!

😀

I am only on twitter -

> ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/8/f839fa2c92854f159fdb44b7aa7249fbcfea026b.jpeg)

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, 12:08pm UTC](https://community.thunkable.com/t/solved-how-can-i-use-the-switch-component/304439/15 "2024-11-08T12:08:26Z")

</div>


