# replace item (1) of (list) with (thing) — Scratch Block Guide > Overwrites the existing value at a specific slot in the list. How to use the "replace item (1) of (list) with (thing)" block in Scratch 3.0 (Variables & Lists): clear explanation, working block example, and debugging tips. ## What this block does Overwrites the existing value at a specific slot in the list. Update a tile on a grid map, change a clone’s stored x/y, or swap two elements during sorting. - Category: Variables & Lists - Key tip: Index must be between 1 and the current length of the list. ## 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 replace item (1) of (list) with (thing)** - When green flag clicked - Replace item (2) of (grid) with (Wall) Try it: Changes slot #2 to "Wall" without altering the list length. ## 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-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/variables/list-replace-item/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)