# How do I get the green colored 'Error' block?

**URL:** <https://community.thunkable.com/t/how-do-i-get-the-green-colored-error-block/3058655>\
**Category:** Questions about Thunkable X\
**Created:** [June 15, 2024, 9:42am UTC](https://community.thunkable.com/t/how-do-i-get-the-green-colored-error-block/3058655 "2024-06-15T09:42:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rayanmubin30l1n](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@rayanmubin30l1n](https://community.thunkable.com/u/rayanmubin30l1n)\
**Post date:** [June 15, 2024, 9:42am UTC](https://community.thunkable.com/t/how-do-i-get-the-green-colored-error-block/3058655/1 "2024-06-15T09:42:05Z")

</div>

Hello there!  
How are you all? In my **coding classes** , they have used an **‘Error’** block(they are also using the components **text to speech and speech recognizer** ). But i don’t have it in my **whole thunkable** …I tried **drag and dropping** the Error block from the **‘Speech\_recognizer1’ category second block** but it gives me an **error** that the **block is out of scope**. So please help me…I am using **thunkable free** so tell me according that. **Thank you!**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/0/906b8fcd115e42c1d2a746de86b5f9de4d1aae7b.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:** [June 15, 2024, 3:30pm UTC](https://community.thunkable.com/t/how-do-i-get-the-green-colored-error-block/3058655/2 "2024-06-15T15:30:48Z")

</div>

Green blocks only have a value when they are inside the function that returned them. So in this case, the green `error` block only has a value inside of the `call Speech Recognizer1` block. Move the `if` block inside of that.

---

<div class="post-metadata">

**Author:** ![rayanmubin30l1n](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@rayanmubin30l1n](https://community.thunkable.com/u/rayanmubin30l1n)\
**Post date:** [June 15, 2024, 4:53pm UTC](https://community.thunkable.com/t/how-do-i-get-the-green-colored-error-block/3058655/3 "2024-06-15T16:53:58Z")

</div>

Thank you so much!..have a gret day

---

<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:** [September 13, 2024, 4:54pm UTC](https://community.thunkable.com/t/how-do-i-get-the-green-colored-error-block/3058655/4 "2024-09-13T16:54:46Z")

</div>

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