# Problems with blocks

**URL:** <https://community.thunkable.com/t/problems-with-blocks/142523>\
**Category:** Questions about Thunkable X\
**Created:** [July 14, 2019, 9:40am UTC](https://community.thunkable.com/t/problems-with-blocks/142523 "2019-07-14T09:40:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [July 14, 2019, 9:40am UTC](https://community.thunkable.com/t/problems-with-blocks/142523/1 "2019-07-14T09:40:06Z")

</div>

Hi there,  
You must click out of this post to understand what I having issue, cause I don’t know what topic name it should be named.  
I don’t want to explain more, just send the image.

Blocks :

 ![IMG_20190714_173540](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/0/f02f85c2a1079fd24e351147e3fdbb4034e18a5a.jpeg)

Result ( livetest app

 ![live](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/3/e3a120cfde76a621a6d259a033921ced0ca5a30f.jpeg)

Again. Don’t mind the Chinese text.  
It is weird, label2 isn’t empty. Why the button4 being invisible too?  
Thanks.

---

<div class="post-metadata">

**Author:** ![samclever](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@samclever](https://community.thunkable.com/u/samclever)\
**Post date:** [July 14, 2019, 9:52am UTC](https://community.thunkable.com/t/problems-with-blocks/142523/2 "2019-07-14T09:52:24Z")

</div>

Dumb question. Is button4 defaulted to being visible? If so, are there any other blocks that will set it to visible=false?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 14, 2019, 11:10am UTC](https://community.thunkable.com/t/problems-with-blocks/142523/3 "2019-07-14T11:10:36Z")

</div>

Why is the button invisible? Because the if block is simply not executed.

There is water in the tap, and water does not flow from the hose. Why? To answer this question you need to check the entire path of the passage of water from the tap to the outlet of the hose. So it is in programming.

By the way, your blocks can be simplified so

![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/a/ba478e4d74cd54f708eae5069171876ba0e1b599.png)

---

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [July 14, 2019, 11:20am UTC](https://community.thunkable.com/t/problems-with-blocks/142523/4 "2019-07-14T11:20:23Z")

</div>

Umm…  
[https://x.thunkable.com/projects/5c0297f68e247164780f96a6/064375f9-be0e-4a54-9577-ee79c4fefb7f/designer](https://x.thunkable.com/projects/5c0297f68e247164780f96a6/064375f9-be0e-4a54-9577-ee79c4fefb7f/designer)

---

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [July 14, 2019, 11:22am UTC](https://community.thunkable.com/t/problems-with-blocks/142523/5 "2019-07-14T11:22:32Z")

</div>

> [@BlueWhaleYT](#):
>
> [Thunkable](https://x.thunkable.com/projects/5c0297f68e247164780f96a6/064375f9-be0e-4a54-9577-ee79c4fefb7f/designer)

Umm…

---

<div class="post-metadata">

**Author:** ![samclever](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@samclever](https://community.thunkable.com/u/samclever)\
**Post date:** [July 14, 2019, 11:26am UTC](https://community.thunkable.com/t/problems-with-blocks/142523/6 "2019-07-14T11:26:05Z")

</div>

LOL I had to ask. Honestly I have no idea. Maybe put each IF statement after the setLabelText block and see what happens?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 14, 2019, 11:36am UTC](https://community.thunkable.com/t/problems-with-blocks/142523/7 "2019-07-14T11:36:05Z")

</div>

It is necessary to add control points to the screen and check the execution of the blocks. It is done this way. A new Label is created, which is installed after each block with text 1,2,3,4,5. If this Label shows 3, then this means that in step 3 the execution of the blocks is interrupted and you need to look for the problem in it.

If Label.Text does not display anything, then this does not mean that it is empty. This Label may contain a space character.

The GetColumn block is an asynchronous block. Do you understand what this means? This means that the block below may not work at all or it will run after the if block, which is located later than it.

![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/8/e8bf75ef9b6a9db8d539acccdbf38b63d7a66d24.png)

---

<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, 12:12pm UTC](https://community.thunkable.com/t/problems-with-blocks/142523/8 "2024-11-08T12:12:14Z")

</div>


