# A certain label's visibility can't be set

**URL:** <https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429>\
**Category:** Questions about Thunkable X\
**Created:** [June 7, 2021, 11:27am UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429 "2021-06-07T11:27:46Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [June 7, 2021, 11:27am UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/1 "2021-06-07T11:27:46Z")

</div>

I’m making an ‘instructions’ screen for an app, and I wanted to make it like this:

> **How to play**
>
> Lore Ipsum dolor sit amet

I have four such rows. All of them are working fine except for one: I’m unable to set the visibility of a label to either true or false.

My code:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/d/cd1b3f2fae3a0178b27a134d2ebad95bf337c4e6.png)

I know that the code is executing, though, because I put a set label’s text block inside the Image2 click event, and the text appeared in the label I chose.

This is odd, since the same code(with different labels) is working with all the other images. Why is this happening? Or rather, why is this not happening?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [June 7, 2021, 11:34am UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/2 "2021-06-07T11:34:21Z")

</div>

If you are using an absolute position label then the visible will not work on Android.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [June 7, 2021, 11:34am UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/3 "2021-06-07T11:34:42Z")

</div>

No, this is a normal label, no advanced properties.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [June 7, 2021, 11:37am UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/4 "2021-06-07T11:37:55Z")

</div>

And also, this is not visible during web preview as well.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [June 7, 2021, 11:57am UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/5 "2021-06-07T11:57:11Z")

</div>

Will it work if you just add a new label to the screen and use it instead of label13?

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [June 7, 2021, 11:57am UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/6 "2021-06-07T11:57:32Z")

</div>

Let me try that.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [June 7, 2021, 11:59am UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/7 "2021-06-07T11:59:45Z")

</div>

Yeah, it does! Thank you so much!

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [June 7, 2021, 12:01pm UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/8 "2021-06-07T12:01:33Z")

</div>

By the way, you can shorten the code into one single line

```auto
When image2 click
      Set label13's visible to [not] label13's visible

```

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [June 7, 2021, 12:02pm UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/9 "2021-06-07T12:02:09Z")

</div>

Ohhhh, I never knew that the not block created the opposite of a value. That’s really cool! I always used if else statements, but this will be great and quick!

---

<div class="post-metadata">

**Author:** ![human](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/human/32/101416_2.png) [@human](https://community.thunkable.com/u/human)\
**Post date:** [June 7, 2021, 7:05pm UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/10 "2021-06-07T19:05:54Z")

</div>

> [@muneer](#):
>
> ```auto
> When image2 click
> Set label13's visible to [not] label13's visible
> 
> ```

That could not only be used for visibility; it could also be used for even more areas in Thunkable. I like that idea. Thanks again, @muneer!

---

<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, 1:20pm UTC](https://community.thunkable.com/t/a-certain-labels-visibility-cant-be-set/1330429/11 "2024-11-08T13:20:26Z")

</div>


