# \[Solved\] How can i change the switch button visibility?

**URL:** <https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637>\
**Category:** Questions about Thunkable X\
**Tags:** solved, beginner, switch\
**Created:** [April 4, 2020, 1:26am UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637 "2020-04-04T01:26:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![shemanta.bhattarai18](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/shemanta.bhattarai18/32/60638_2.png) [@shemanta.bhattarai18](https://community.thunkable.com/u/shemanta.bhattarai18)\
**Post date:** [April 4, 2020, 1:26am UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637/1 "2020-04-04T01:26:06Z")

</div>

I have added a switch button in my app which i want to hide in some circumstances but i cannot do it.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/a/6a56fc35f5666c0e0973a2d6d6dd76e0d3f101fe.png)

---

<div class="post-metadata">

**Author:** ![nobelp1npk](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@nobelp1npk](https://community.thunkable.com/u/nobelp1npk)\
**Post date:** [April 4, 2020, 3:52am UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637/2 "2020-04-04T03:52:15Z")

</div>

Just use this block ![Screenshot 2020-04-04 at 10.36.53](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/0/70c86635a9db1d4006a9208067134de4f9eff58d.png)

---

<div class="post-metadata">

**Author:** ![shemanta.bhattarai18](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/shemanta.bhattarai18/32/60638_2.png) [@shemanta.bhattarai18](https://community.thunkable.com/u/shemanta.bhattarai18)\
**Post date:** [April 4, 2020, 4:19am UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637/3 "2020-04-04T04:19:44Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/f/afa2f09719a6063ccc4004f56b43e660848680ac.png)  
did the same but still its visible at the wrong place.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/3092078ac06747fc94554b56fa32d272bc3edcef.png)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 4, 2020, 4:22am UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637/4 "2020-04-04T04:22:36Z")

</div>

Try placing the switch ina row. Placing it where you need it. And making the row invisible instead of the switch

---

<div class="post-metadata">

**Author:** ![shemanta.bhattarai18](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/shemanta.bhattarai18/32/60638_2.png) [@shemanta.bhattarai18](https://community.thunkable.com/u/shemanta.bhattarai18)\
**Post date:** [April 4, 2020, 4:41am UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637/5 "2020-04-04T04:41:21Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/f/afa2f09719a6063ccc4004f56b43e660848680ac.png)  
usertyperow is the row which contain switch button,  
Tried that also but is not working.

---

<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:** [April 4, 2020, 5:20am UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637/6 "2020-04-04T05:20:46Z")

</div>

Hi, @shemanta.bhattarai18! 👋

If @jared’s suggestion does not work, then there’s something to do with your `if` block.  
Try removing the condition, for testing purposes.

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![shemanta.bhattarai18](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/shemanta.bhattarai18/32/60638_2.png) [@shemanta.bhattarai18](https://community.thunkable.com/u/shemanta.bhattarai18)\
**Post date:** [April 8, 2020, 4:55pm UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637/7 "2020-04-08T16:55:52Z")

</div>

Thank you, I didn’t think of it but all preceding statement worked well except that switch.

---

<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:39am UTC](https://community.thunkable.com/t/solved-how-can-i-change-the-switch-button-visibility/554637/8 "2024-11-08T11:39:13Z")

</div>


