# For each item j in list, how to get \[k in list\]?

**URL:** <https://community.thunkable.com/t/for-each-item-j-in-list-how-to-get-k-in-list/3492753>\
**Category:** Questions about Thunkable X\
**Tags:** help\
**Created:** [January 20, 2025, 1:53am UTC](https://community.thunkable.com/t/for-each-item-j-in-list-how-to-get-k-in-list/3492753 "2025-01-20T01:53:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![asura2005766339b89](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@asura2005766339b89](https://community.thunkable.com/u/asura2005766339b89)\
**Post date:** [January 20, 2025, 2:23am UTC](https://community.thunkable.com/t/for-each-item-j-in-list-how-to-get-k-in-list/3492753/2 "2025-01-20T02:23:31Z")

</div>

I’ve found this thread after some searching, but it doesn’t offer a full solution? Other than the weird creating a function way.

> [@Tip: User declared variables will NOT work in “for each” loops](https://community.thunkable.com/t/tip-user-declared-variables-will-not-work-in-for-each-loops/1865107/8):
>
> I agree. This is not technically a bug. It’s the way Thunkable is intended to be used… not necessarily the best way it could be configured but it’s intentional, I believe. The loop block has its own internal variables that you need to use.

---

_[View the full topic](https://community.thunkable.com/t/for-each-item-j-in-list-how-to-get-k-in-list/3492753)._
