# replace item (1) of (list) with (thing)｜Guia do bloco Scratch

> O bloco "replace item (1) of (list) with (thing)" faz parte da categoria "Variáveis e Listas" do Scratch 3.0 e é essencial em jogos, animações e projetos interativos.

Dicionário de blocos Scratch 3.0: replace item (1) of (list) with (thing) (Variáveis e Listas). O bloco "replace item (1) of (list) with (thing)" faz parte da categoria "Variáveis e Listas" do Scratch 3.0 e é essencial em jogos, animações e projetos interativos.

## O que este bloco faz e quando usar

O bloco "replace item (1) of (list) with (thing)" faz parte da categoria "Variáveis e Listas" do Scratch 3.0 e é essencial em jogos, animações e projetos interativos.

Monte primeiro este exemplo mínimo isoladamente, preveja o resultado antes de clicar na bandeira verde e altere um número por vez.

## Exemplo prático no Scratch

Monte este exemplo Scratch 3.0 no editor e observe o comportamento:

**replace item (1) of (list) with (thing)**

- When green flag clicked
- Replace item (2) of (grid) with (Wall)

Experimente: Changes slot #2 to "Wall" without altering the list length.

## Guias relacionados

Monte primeiro este exemplo mínimo isoladamente, preveja o resultado antes de clicar na bandeira verde e altere um número por vez.

- [Voltar para Variáveis e Listas](/pt/dictionary/variables/): Variáveis e Listas
- [Voltar ao Dicionário de blocos](/pt/dictionary/): Scratch 3.0

Atualizado em: 2026-11-23
Autor: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/)
Japanese Edition: https://scratch.gmnavi.jp/dictionary/variables/list-replace-item/

[Scratch Daizen (Português)](https://scratch.gmnavi.jp/pt/)
