# Is there a way to make a button do something but something else if a condition is stated?

**URL:** <https://community.thunkable.com/t/is-there-a-way-to-make-a-button-do-something-but-something-else-if-a-condition-is-stated/2496030>\
**Category:** Questions about Thunkable X\
**Created:** [July 6, 2023, 7:50am UTC](https://community.thunkable.com/t/is-there-a-way-to-make-a-button-do-something-but-something-else-if-a-condition-is-stated/2496030 "2023-07-06T07:50:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jothamosama2007nr7th](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jothamosama2007nr7th](https://community.thunkable.com/u/jothamosama2007nr7th)\
**Post date:** [July 6, 2023, 7:50am UTC](https://community.thunkable.com/t/is-there-a-way-to-make-a-button-do-something-but-something-else-if-a-condition-is-stated/2496030/1 "2023-07-06T07:50:45Z")

</div>

My first thought was to put an if condition under the condition I want saying “If button is down” but that’s not an option, and I’m trying to make the button disappear briefly to show a different button but it’s not working properly

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [July 6, 2023, 12:51pm UTC](https://community.thunkable.com/t/is-there-a-way-to-make-a-button-do-something-but-something-else-if-a-condition-is-stated/2496030/2 "2023-07-06T12:51:45Z")

</div>

```auto
When button is click
   if condition is true
      [blocks]
   else
      [blocks]

```

If you get stuck, post a screenshot of your blocks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [October 4, 2023, 12:52pm UTC](https://community.thunkable.com/t/is-there-a-way-to-make-a-button-do-something-but-something-else-if-a-condition-is-stated/2496030/3 "2023-10-04T12:52:32Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
