This tutorial shows the process in Google Docs, but the Slides version works in exactly the same way. Use the “next” and “previous” buttons in the “Try” tab to walk through each step. Click the “view” tab to see all steps at once. Open tutorial in new window.
1 The first step is to open your Google Doc and click Add-ons
2 With your mouse, hover Scratch Blocks►
3 Click Show Generator
4 Choose the version of Scratch you'd like to use
5 Choose the language you'd like to use
6 Type the blocks you'd like to appear, one block per line.
7 If you don't know what to type for a particular block, click What do I type?
8 Preview your blocks to make sure they look correct.
9 Set the size of the image you'd like to generate. Bigger numbers result in larger images.
10 Click Add Blocks to Document
11 To get rid of extra white space around the block(s), double click the image to enter crop mode.
12 With your mouse, click and drag the corner handle to change the boundary of the image.
13 Press enter to save your cropping.
14 If you'd like, you can move and resize your image within your document.
15 That's it. You're done!
Here's an interactive tutorial for the visual learners