A typewriter simulator is a simulation project where you can type notes, like in Microsoft Word©. This typewriter tutorial only requires simple scripting.
First, create a sprite. You can call it whatever you want, but for our example, we'll call it "Text".
Now, click the "Costumes" button above the block palette, and change the mode to vector. Now, type the letter "a", uppercase or lowercase. Name the costume "a".
Repeat step 2 listed above 25 more times, except with different letters of the alphabet. First you do "a", then "b", and so on.
Now that you have all of the costumes, click the "Scripts" button, right next to the "Costumes" button. Go to the More Blocks section, and create a block that looks like this:
print  size () // category=custom
Now, a "Define" hat should appear. We will create it's script later.
Click the Data button, and create a variable that is open to all sprites, not cloud and named "letter on?".
Remember the define block that appeared earlier? We are now going to add some things to it. Snap the following blocks to it so the script looks like this:
define print [text] size (size) set [letter on? v] to  repeat (length of (text)) switch costume to (letter (letter on?) of (text) stamp change [letter on?] by (1) change x by (size) end
Now, you have two different choices. You can choose whichever one you like better.
One method of detecting which keys are pressed can be the 26-script way. It's like this:
First, create a script like this:
when key [a v] pressed print [a] size (width of costumes) // category=custom
When using this method, you repeat the script 25 more times, but each with a different letter of the alphabet. First "a", then "b", and so on.
Another method of detecting which keys are pressed can be the 1-script way. First, create a script like this:
when gf clicked forever if <key [a v] pressed?> print [a] size (width of costumes) // category=custom else end
Now, copy the "if else" part and stick it in the first "if else"'s "else". Change the "<key [a v] pressed" to "key [b v] pressed" and change the "print [a]..." to "print [b]...". Keep on doing this until you get to "y". The last part should look like this:
... if <key [y v] pressed?> print [y] size (width of costumes) // category=custom else if <key [z v] pressed?> print [z] size (width of costumes // category=custom end end wait (delay time) secs end forever block // category=control
If you followed all of the above steps, you should now have a working typewriter!