# "Variable out of Scope!"

**URL:** <https://community.thunkable.com/t/variable-out-of-scope/2634919>\
**Category:** Questions about Thunkable X\
**Created:** [October 9, 2023, 10:17am UTC](https://community.thunkable.com/t/variable-out-of-scope/2634919 "2023-10-09T10:17:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [October 9, 2023, 10:36am UTC](https://community.thunkable.com/t/variable-out-of-scope/2634919/2 "2023-10-09T10:36:24Z")

</div>

> [@Finding the correct 'row ID'](https://community.thunkable.com/t/finding-the-correct-row-id/2581368/2):
>
> The row id is “out of scope” because you used a green block outside of its function or event block. So the green `row id` only contains a value inside of the `create row` block. If you want to use that value outside of it, you need to assign in to a variable.

That green block is only in scope within the bounds of the “then do” section of the block from which it was pulled.

---

_[View the full topic](https://community.thunkable.com/t/variable-out-of-scope/2634919)._
