Click Green flag and follow instructions.
Scratch (as of Version 3) does not allow you to have local variables for a custom block or a script. In this program, we will see how to overcome this shortcoming through a simple technique called "stack". Once you understand this scheme, you can use it easily for any custom block that requires local variables.