0% found this document useful (0 votes)
586 views

Data Scratch

This document discusses data blocks in Scratch, including variables and lists. It explains that variables can be set for individual sprites or all sprites, and can store values like size or position. Lists allow tracking multiple pieces of information like scores, and items can be added, deleted, or replaced within the list. Both variables and lists can be displayed or hidden on the stage.

Uploaded by

api-338485931
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
586 views

Data Scratch

This document discusses data blocks in Scratch, including variables and lists. It explains that variables can be set for individual sprites or all sprites, and can store values like size or position. Lists allow tracking multiple pieces of information like scores, and items can be added, deleted, or replaced within the list. Both variables and lists can be displayed or hidden on the stage.

Uploaded by

api-338485931
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Data

Initially you will be given the option to either make a variable or make a list.

The make a variable block then gives you an option to name the variable and
select whether it is for all the sprites or just the one that you a currently

Data blocks Description: What it is? How


it works?
This block allows you to set the variable to a
certain amount whether it be size or position
etc in a sequence.
This block allows you to change the variable
by a certain amount again whether it be size
or position etc in a sequence.
This block allows for the variable to appear in
the corner of the stage. It can be dragged to
a new location.
This block allows for the variable to disappear
from the stage.
setting up.

The make a list block again gives you an option to name the list and then
select whether it is for all the Sprites of just the one that you are currently
setting up.

It allows you to set a list of commands within other blocks. When selecting a list this will appear
on the left hand side of the screen. If you click on the list you are then given the option to add
the required number of commands to the list. The list can then be hidden so that it can not be
seen in the play window.
The list allows for a track of several bits of information to be kept for example a set
of scores etc.
Data blocks (lists) Description: What it is? How
it works?
This block allows for an item to be added at
the end of the list.
This block allows for a set number of items to
be deleted from the list.
This block allows for an item to be added in a
specific place in the list.
This block removes one item and replaces it
with a new one.
This block allows for a specific item to be
used as a variable in the list.
This block allows you to use a given number
of items in the list as variables.
This blocks checks the list for a certain item.
This block allows for the list to be displayed in
the stage area.
This block allows for the list to be hidden from
the stage area.

You might also like