Computer Science, asked by shahtirth0308, 3 months ago

What are local and global variables in Scratch?

Answers

Answered by senthayoghasswar
0

Answer:

There are two different types of variables, global and local. Global variables can be altered and used by all sprites, whereas local variables can only be edited and used by the sprite they were created on. We use variables when we want a bit of information to be saved so we can use it in multiple places in our program.

Answered by ponaanuradha
1

Answer:

Explanation:

There are two different types of variables, global and local. Global variables can be altered and used by all sprites, whereas local variables can only be edited and used by the sprite they were created on. We use variables when we want a bit of information to be saved so we can use it in multiple places in our program

SOURCE- CODING KIDS

Similar questions