# Variables & Lists > Use variables to remember scores, lives, and speed, and use lists to manage inventories, quizzes, and map data. Learn how Scratch variables and lists store changing information, how initialization works, and when to choose each. ## A variable is a labeled box Think of a variable as a box with a name written on the outside, like "score" or "lives". You can look inside at any time, replace the value with "set", or add and subtract with "change". **Initialize and update a score** - When green flag clicked - Set (score) to (0) - Forever - If then - Change (score) by (1) - Wait (0.5) seconds Try it: The score starts at 0 every game and increases by 1 whenever the player touches the star. ## When to use a list When you need to remember many items in order—such as quiz questions, high scores, or an item inventory—a list is much cleaner than creating ten separate variables. - Use "For all sprites" for shared values like score or timer. - Use "For this sprite only" when each clone needs its own health or speed. - Always reset variables and clear temporary lists when the green flag is clicked. ## Individual variables block guides (16) Open any individual block below for clear explanations, working Scratch examples, and common tips. - [(my variable) Reporter — Scratch Block Guide](/en/dictionary/variables/variable-reporter/): Reads the current number or text stored inside a variable. - [set (score) to (0) — Scratch Block Guide](/en/dictionary/variables/set-variable/): Replaces the variable’s current value with a new number or string. - [change (score) by (1) — Scratch Block Guide](/en/dictionary/variables/change-variable/): Adds a positive or negative number to the variable’s current value. - [show variable (score) — Scratch Block Guide](/en/dictionary/variables/show-variable/): Displays the variable monitor readout on the stage during gameplay. - [hide variable (score) — Scratch Block Guide](/en/dictionary/variables/hide-variable/): Hides the variable monitor from the stage while keeping its value active in memory. - [(my list) Reporter — Scratch Block Guide](/en/dictionary/variables/list-contents/): Returns all items in a list joined together into a single text string. - [add (thing) to (list) — Scratch Block Guide](/en/dictionary/variables/list-add-item/): Appends a new entry to the very end of the list. - [delete (1) of (list) — Scratch Block Guide](/en/dictionary/variables/list-delete-item/): Removes the item at the given 1-based index and shifts later items up by one slot. - [delete all of (list) — Scratch Block Guide](/en/dictionary/variables/list-delete-all/): Empties every item from the list immediately. - [insert (thing) at (1) of (list) — Scratch Block Guide](/en/dictionary/variables/list-insert-item/): Inserts a new item at a specific index and shifts existing items down without overwriting them. - [replace item (1) of (list) with (thing) — Scratch Block Guide](/en/dictionary/variables/list-replace-item/): Overwrites the existing value at a specific slot in the list. - [item (1) of (list) — Scratch Block Guide](/en/dictionary/variables/list-item/): Reads the value stored at a specific 1-based position in the list. - [item # of (thing) in (list) — Scratch Block Guide](/en/dictionary/variables/list-item-number/): Searches the list and returns the first index matching the value, or 0 if not found. - [length of (list) — Scratch Block Guide](/en/dictionary/variables/list-length/): Returns how many items are currently stored in the list. - [(list) contains (thing)? — Scratch Block Guide](/en/dictionary/variables/list-contains/): Boolean block returning true if an exact item exists anywhere in the list. - [show / hide list (my list) — Scratch Block Guide](/en/dictionary/variables/hide-list/): Toggles whether a list monitor is visible on the stage. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/variables/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)