NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

insert (thing) at (1) of (list) — Scratch Block Guide

📌 What you will learn

Inserts a new item at a specific index and shifts existing items down without overwriting them.

What this block does

Inserts a new item at a specific index and shifts existing items down without overwriting them.

Insert a new high score into the right rank position on a leaderboard.

  • Category: Variables & Lists
  • Key tip: Increases list length by 1 (unlike "replace", which keeps length the same).

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 insert (thing) at (1) of (list)
  1. When green flag clicked
  2. Insert Top Score at 1 of leaderboard

Try it: Places the new item at #1 and pushes the previous #1 to #2.

Related block guides

Explore other blocks in the same category or return to the full English Block Dictionary.

Back to Variables & Lists See the overview and patterns for Variables & Lists. Learn more → Scratch Block Dictionary (All Categories) Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Learn more →

FAQ

When should I use "insert (thing) at (1) of (list)" in Scratch?

Insert a new high score into the right rank position on a leaderboard. Increases list length by 1 (unlike "replace", which keeps length the same).

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.