# item # of (thing) in (list) — Scratch Block Guide > Searches the list and returns the first index matching the value, or 0 if not found. How to use the "item # of (thing) in (list)" block in Scratch 3.0 (Variables & Lists): clear explanation, working block example, and debugging tips. ## What this block does Searches the list and returns the first index matching the value, or 0 if not found. Look up a word’s position in a dictionary list to fetch its matching definition. - Category: Variables & Lists - Key tip: Instant built-in linear search without writing a loop. ## Working Scratch example Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it. **Example using item # of (thing) in (list)** - When green flag clicked - Say (item # of (Key) in (bag)) for (2) seconds Try it: Shows the exact slot number of "Key" (or 0 if missing). ## Related block guides Explore other blocks in the same category or return to the full English Block Dictionary. - [Back to Variables & Lists](/en/dictionary/variables/): See the overview and patterns for Variables & Lists. - [Scratch Block Dictionary (All Categories)](/en/dictionary/): Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Updated: 2026-11-24 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/variables/list-item-number/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)