# If block

**URL:** <https://community.thunkable.com/t/if-block/3877305>\
**Category:** Questions about Thunkable X\
**Created:** [May 29, 2025, 9:57am UTC](https://community.thunkable.com/t/if-block/3877305 "2025-05-29T09:57:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronteh0103h5ewk1](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@aaronteh0103h5ewk1](https://community.thunkable.com/u/aaronteh0103h5ewk1)\
**Post date:** [May 29, 2025, 9:57am UTC](https://community.thunkable.com/t/if-block/3877305/1 "2025-05-29T09:57:36Z")

</div>

how do you create this block:  
if ‘1st statement’ = true,  
then check if ‘2nd statement’ = true.  
if both = true,  
do something

can the if block together with the test block work?

---

<div class="post-metadata">

**Author:** ![kizzy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kizzy/32/76421_2.png) [@kizzy](https://community.thunkable.com/u/kizzy)\
**Post date:** [May 29, 2025, 2:46pm UTC](https://community.thunkable.com/t/if-block/3877305/2 "2025-05-29T14:46:49Z")

</div>

use to 2 = blocks

---

<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:** [May 30, 2025, 4:36am UTC](https://community.thunkable.com/t/if-block/3877305/3 "2025-05-30T04:36:45Z")

</div>

Yes but you can also use an [and](https://docs.thunkable.com/blocks/blocks/logic#and-or-blocks) block. It’s explained at the 1:33 mark in the tutorial video on the page I linked to.

---

<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:** [August 28, 2025, 4:37am UTC](https://community.thunkable.com/t/if-block/3877305/4 "2025-08-28T04:37:30Z")

</div>

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