# How to hide group when same button (which opened it) is clicked again?

**URL:** <https://forum.bubble.io/t/how-to-hide-group-when-same-button-which-opened-it-is-clicked-again/14838>\
**Category:** Need help\
**Created:** [June 23, 2017, 5:33pm UTC](https://forum.bubble.io/t/how-to-hide-group-when-same-button-which-opened-it-is-clicked-again/14838 "2017-06-23T17:33:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayushsharmamedia](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ayushsharmamedia/32/14804_2.png) [@ayushsharmamedia](https://forum.bubble.io/u/ayushsharmamedia)\
**Post date:** [June 23, 2017, 5:33pm UTC](https://forum.bubble.io/t/how-to-hide-group-when-same-button-which-opened-it-is-clicked-again/14838/1 "2017-06-23T17:33:31Z")

</div>

Hey so basically I have a main group which shows when a certain button is clicked, how do I hide it when that same button is clicked again?

Thanks

---

<div class="post-metadata">

**Author:** ![1danielbaker](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@1danielbaker](https://forum.bubble.io/u/1danielbaker)\
**Post date:** [June 23, 2017, 5:35pm UTC](https://forum.bubble.io/t/how-to-hide-group-when-same-button-which-opened-it-is-clicked-again/14838/2 "2017-06-23T17:35:56Z")

</div>

Use the “toggle” action instead of show/hide - Toggle will hide if it’s shown and show when it’s hidden

---

<div class="post-metadata">

**Author:** ![ayushsharmamedia](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ayushsharmamedia/32/14804_2.png) [@ayushsharmamedia](https://forum.bubble.io/u/ayushsharmamedia)\
**Post date:** [June 23, 2017, 5:36pm UTC](https://forum.bubble.io/t/how-to-hide-group-when-same-button-which-opened-it-is-clicked-again/14838/3 "2017-06-23T17:36:47Z")

</div>

Thanks man, I knew there had to be a really simple answer for this!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 1, 2017, 5:33pm UTC](https://forum.bubble.io/t/how-to-hide-group-when-same-button-which-opened-it-is-clicked-again/14838/4 "2017-09-01T17:33:38Z")

</div>

Closed on September 1, 2017, 5:33pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
