# How to check few "if conditions" blocks at 1 time for delay time functions

**URL:** <https://community.thunkable.com/t/how-to-check-few-if-conditions-blocks-at-1-time-for-delay-time-functions/564843>\
**Category:** Questions about Thunkable X\
**Created:** [May 5, 2020, 2:29pm UTC](https://community.thunkable.com/t/how-to-check-few-if-conditions-blocks-at-1-time-for-delay-time-functions/564843 "2020-05-05T14:29:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iqbandara11xvit](https://avatars.discourse-cdn.com/v4/letter/i/ac8455/32.png) [@iqbandara11xvit](https://community.thunkable.com/u/iqbandara11xvit)\
**Post date:** [May 5, 2020, 2:29pm UTC](https://community.thunkable.com/t/how-to-check-few-if-conditions-blocks-at-1-time-for-delay-time-functions/564843/1 "2020-05-05T14:29:49Z")

</div>

There are 3 buttons in one of my screen.

when button 1 clicked it’s disabled for 30 minutes  
when button 2 clicked it’s disabled for 1 hour  
when button 3 clicked it’s disabled for 2 hours

I could make that function using “since 1970” block, helped with thunkable community. 🙂

when screen opens, it checks what buttons are already pressed and keep disabled till trigger the timer (function using “since 1970” block).

The problem is…  
I can not check all 3 buttons pressed status at one time.  
if one checked and if it’s identified as a already pressed button, it’s stay whole remain time and after that go to next set of blocks.  
so the other buttons delays more duration.

anyone can help me on this matter please …

 ![delay error](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/9/19e4c81d3f0ae407bdc0aacf04fb8e330ebe66c9.jpeg)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 30, 2020, 7:22pm UTC](https://community.thunkable.com/t/how-to-check-few-if-conditions-blocks-at-1-time-for-delay-time-functions/564843/2 "2020-06-30T19:22:30Z")

</div>

Hey @iqbandara11xvit

As an alternative approach, you could do something like this where a countdown is displayed on the button:

> [@Creating a Toggle in Thunkable](http://community.thunkable.com/t/creating-a-toggle-in-thunkable-x/53574/7):
>
> Thanks! Done smileeyes Preview: [https://thunk.app/w/KBKpW3y5Y](https://thunk.app/w/KBKpW3y5Y)recycle Remix: [https://x.thunkable.com/copy/2288140492282fc7e610c32b3d2b6bde](https://x.thunkable.com/copy/2288140492282fc7e610c32b3d2b6bde)

---

<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:25am UTC](https://community.thunkable.com/t/how-to-check-few-if-conditions-blocks-at-1-time-for-delay-time-functions/564843/3 "2024-11-08T11:25:15Z")

</div>


