# Conditional Function

**URL:** <https://community.thunkable.com/t/conditional-function/396227>\
**Category:** Questions about Thunkable X\
**Created:** [January 7, 2020, 6:08pm UTC](https://community.thunkable.com/t/conditional-function/396227 "2020-01-07T18:08:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhuman](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hhuman](https://community.thunkable.com/u/hhuman)\
**Post date:** [January 7, 2020, 6:08pm UTC](https://community.thunkable.com/t/conditional-function/396227/1 "2020-01-07T18:08:23Z")

</div>

Can someone show me how to use the conditional function block? Please show me an example. I’m a bit curious about it and think I might actually need to use it as well. Thank you!!

---

<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:** [January 7, 2020, 8:38pm UTC](https://community.thunkable.com/t/conditional-function/396227/2 "2020-01-07T20:38:18Z")

</div>

here are two quick examples. try to read them aloud from top to bottom. this is how they make the most sense. not just looking at it.

 ![Screen Shot 2020-01-07 at 3.27.08 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/7/778f747ce5e1ac5bbfa57d3845ef096488a00331.png) ![Screen Shot 2020-01-07 at 3.23.17 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/e/9e568ff71f1d41fc480e5bedd332d5c0b079e62a.png)

---

<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:** [January 7, 2020, 9:03pm UTC](https://community.thunkable.com/t/conditional-function/396227/3 "2020-01-07T21:03:13Z")

</div>

@hhuman Do you mean this block?

![assets_-LAn5scXl2uqUJUOqkJo_-LAn5wecEraNWaG7Ig2g_-LAn671z1nUi5mqLoxZG_blocks-function-✕-fig-3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/2/0290133a90fb46ef763bf7e406bbae8cec5ee834.png)

I’m not sure how to use that and can’t find any examples online. It seems redundant when there is already an if/then block but maybe it’s just easier?

---

<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:** [January 7, 2020, 9:08pm UTC](https://community.thunkable.com/t/conditional-function/396227/4 "2020-01-07T21:08:04Z")

</div>

😂 I was way off!

---

<div class="post-metadata">

**Author:** ![hhuman](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hhuman](https://community.thunkable.com/u/hhuman)\
**Post date:** [January 7, 2020, 9:26pm UTC](https://community.thunkable.com/t/conditional-function/396227/5 "2020-01-07T21:26:33Z")

</div>

Yes, this is the block I meant. Couldn’t find any examples either… The strange thing is that when you put it inside a function, the return side disappears…

---

<div class="post-metadata">

**Author:** ![hhuman](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hhuman](https://community.thunkable.com/u/hhuman)\
**Post date:** [January 7, 2020, 9:27pm UTC](https://community.thunkable.com/t/conditional-function/396227/6 "2020-01-07T21:27:11Z")

</div>

Yes, thanks for chiming in anyways. Maybe your examples are meant for me in the future?

---

<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:46am UTC](https://community.thunkable.com/t/conditional-function/396227/7 "2024-11-08T11:46:05Z")

</div>


