Create a username variable
We will need to create a variable called 'username' to store the text of our username as we build it.
When you create a variable, a small orange rectangle appears in the stage area that displays the current value of that variable. We don't need to this display so we're going to add the following code to hide it:
when green flag clicked
hide variable [username v]
Show: How to create a variable
In the Variables palette, create a new variable by clicking the 'Make a Variable' button.
Once you click this button a box will appear asking what you want to call your variable. Give it a name that reminds you what you will be using it for. For example, if you wanted to keep track of your score in a game, you would create a variable called 'score'.
You should test your code after each step to make sure it works. If there's a problem with it then try and find the piece of code that's causing the problem and fix it.'