How to Save a Project
Saving a project is usually done automatically by the Scratch Editor when the editor detects a change of content. There may be times, however, where someone would like to manually save a project, such as to update the thumbnail, or simply to make sure that the content is saved. In any situation, being able to save a project manually is a good practice to prevent loss of data in unexpected situations.
- 1 Saving a Project Online
- 2 Downloading a Project
- 3 Uploading a Project
- 4 See Also
Saving a Project Online
There are two ways of saving a project to the online editor. The most common way to save content is to click the ‘Save Now’ located on the top right corner of the editor.
Another way to save your project is to click ‘File’ in the toolbar, then from the dropdown menu, click ‘Save Now’.
A third way to save your project is to press Ctrl+S (or Cmd+S on a Mac) on your computer keyboard.
|Note:||Will trigger When S Key Pressed and When Any Key Pressed blocks.|
A project is successfully saved when the save button displays ‘project saved’ and disappears. A project that is in the process of saving onto the server will display ‘saving project’, and will also display a throbber next to the ‘saving project’ text.
If a project doesn’t successfully save, a window will appear, notifying the user that the project could not be saved. In the window, the user can choose to re-attempt to save the project by clicking ‘Try Again’, or choose to download the project as a file by clicking ‘download’.
Occasionally, projects will automatically save during the course of work.
Downloading a Project
In some cases, downloading a project may be useful for a user, such as backing up the contents of an important project to their own storage.
To download a project, click ‘File’ in the toolbar. From the dropdown menu, click ‘Save to Your Computer’. This is start a download to your computer’s ‘downloads’ folder. The project will be saved as an .sb3 file, which can later be uploaded back onto the original project.
When WiFi is not connected or the project does not save for some other reason, there will be a popup giving you the option to download the project.
Uploading a Project
|Caution:||Uploading a project overwrites all of the contents of the project with the file. Projects cannot be merged together!|
To upload a previously downloaded project, navigate to the project whose contents are to be replaced. (If the file was created offline, create a blank project for the file to replace.) Click ‘File’, then from the dropdown menu, click ‘load from Your Computer’. Select the correct file, then click ‘Open’. The project will then load onto the Scratch Editor. Project file sizes are maxed at 5 megabytes as a .json file. To see how large the project .json file is, download the project and change the .sb3 extension to .zip.
How to Save a Project Saving a project is usually done automatically by the Scratch Editor when the editor detects a change of content. There may be times, however, where someone would like to
Exporting and Importing
Exporting and importing are the processes of extracting a particular file and implementing it back into a program. In Scratch, it deals with the transferring of projects, sprites, costumes, backdrops, sounds, scripts, variables, and lists.
- 1 Exporting
- 1.1 Projects
- 1.2 Sprites
- 1.3 Costumes
- 1.4 Backdrops
- 1.5 Sounds
- 1.6 Scripts
- 1.7 Lists
- 2 Importing
- 2.1 Projects
- 2.2 Sprites
- 2.3 Costumes and Backdrops
- 2.4 Sounds
- 2.5 Scripts
- 2.6 Lists
- 3 See Also
A variety of objects within the Scratch program can be exported within the Scratch. It can often require one to save the file to their computer.
To export a Scratch project, one must access File > Download to your computer. Downloading to the computer is the same as exporting the project. It will require the project to be saved to one’s computer (or external hard drive) as a .sb3 file in Scratch 3.0, a .sb2 file in Scratch 2.0 or a .sb file in Scratch 1.4.
To export a sprite, one must right-click on the sprite’s icon in the sprites panel and select the option export. As with the projects themselves, sprites will then be saved in .sprite3 format.
To export a particular costume, right-click on the costume’s icon in the costumes pane and select export. If the costume is in vector, it will save as a .svg file, and if the costume is in bitmap, it will save as a .png file.
To export a particular backdrop, one must right-click on its icon in the backdrops pane and select the export, which allows one to save the backdrop to their computer.
To export a particular sound, right-click on its icon in the sounds pane and select the option export, which will save the sound in the format it is in (which will be .wav if it has been edited in Scratch) into one’s computer.
Without exporting the entire sprite file, scripts can only be exported using the backpack. To export a script, open the backpack and drag the script into it. The scripts will are then saved to the Scratch server.
|Note:||one must be logged in to use the backpack.|
To export a list, right-click or click and hold on the list monitor and select export, which allows the list to be saved as a .txt file.
Importing is the process of transferring external files, such as those stored in a File Explorer (Windows) or Finder (Mac) into a program.
To import a project into the project editor, one must access File > Load from your computer. Once a project is selected (Scratch 3.0 reads .sb, .sb2 files and .sb3 files), it will be loaded in Scratch.
To import a sprite, select the “Choose a Sprite” button underneath the stage, click on the “Upload Sprite” option, and select the sprite file (.sprite, .sprite2 or .sprite3) or supported image file to import.
Costumes and Backdrops
To import a costume, in the paint editor select “Upload Costume/Backdrop” (in “Choose a Costume/Backdrop”) and choose the desired image file to upload.
To import a sound, in the sound editor, click the “Upload Sound” button (in the “Choose a Sound” menu) and select the sound to import. Scratch can only read MP3 and WAV files. [ citation needed ]
To import a script, drag the desired script within the backpack into the scripts area of the project editor.
To import a list, right-click or click and hold an existing list’s monitor and select the import option. Then, select any .txt or .csv file to import into the list. Each line in the .txt file represents each item in the list. If an imported file is detected to be a CSV file, only one column, chosen by a “Which column should be used?” prompt, will be imported.
Exporting and Importing Exporting and importing are the processes of extracting a particular file and implementing it back into a program. In Scratch, it deals with the transferring of