A dialog (also known as dialogue) is a user interface element that is used to display messages and provide interactivity. Some types of dialogs Scratch uses are help dialogs, file chooser dialogs, and message dialogs.
Types
Variable Creation

When a variable is being created, it is done in a dialog. This dialog has a place to type the variable's name, and radio buttons determining the scope; a Cloud Data checkbox has been included since Scratch 2.0.
Procedure Creation
When creating a custom block, a dialog with the name and arguments, as well as buttons to add arguments, is shown.
File Selection
File selection dialogs are used when importing or exporting something. They show files and folders in the current directory, a way to go to the upper directory, a directory tree (by clicking the dropdown with the current one's name), and some common places. In exports, it also contains a place to write the filename.
Library
The media library includes sprites, costumes, and sounds. The library dialog contains filters to sort the media. It also has a search bar.
Sprites can be sorted by category, theme, type, or what media it features (scripts, costumes, sounds). If it has multiple costumes, they can be toggled with arrows. Information is shown in a tooltip.
Costumes can be sorted by category, theme, or type, but scenes only by category to theme.
Sounds can be sorted by category. It shows the duration in seconds, and a button to preview the sound.
Camera
| This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective. |
Prior to May 2021, costume could be created through the camera dialog, which allowed a user to take a picture using their webcam. This was removed to avoid encouraging users to put images of themself in their projects which did not meet Scratch's privacy standards.[1]
Recording
The sound recording dialog is shown when a user creates a sound by the Record button in the Sound Editor, or by the "record..." option in Dropdown Menus for Sound Blocks.
Quit
The quit dialog is a feature used in a variety of different programs.[citation needed] When the window is told to close, if the project is not saved, this dialog appears asking if the user wants to save, quit, or cancel.
Features
Some features that nearly all dialogs share are the buttons. A dialog with user input always has at least two — OK, and cancel. The styling of a dialog is usually uniform across a program.
Images
| Please expand this Please add more images.. You can help by adding more information if you are an editor. More information might be found in a section of the talk page. (January 2016) |
Images of the different types of dialogs presented in this article are shown below.
Scratch 3.0
-
Creating a Variable
-
Creating a My Block
-
Creating a new Broadcast Message
-
The first page for importing a photo
-
The second page for importing a photo
-
Recording a sound
-
The Sprite Library
-
The Costume Library
-
The Sound Library
-
The Background Library
Scratch 2.0
-
Creating a variable.
-
Creating a procedure named "jump () px". Note the X above the currently selected part of the title, to delete it.
-
The simple dialog to create a procedure. Generally only good for one with no arguments, or where the parameters will be added via the edit dialog (not shown here).
-
The camera dialog, to create a costume from the webcam. This was added in 1.4.
-
The version details.
-
The sprite library.
-
The costume library.
-
The background library.
-
The sound library.
Scratch 1.4
-
The help dialog for the Point in Direction () block.
-
The dialog used to save an image of the scripts. All file selection dialogs look like this, more or less. The only difference with an import is the lack of the new filename input area.
-
The share dialog.
-
The Paint Editor, which is also a dialog.
-
The dialog to record a sound.
-
The quit dialog that appears before the window is closed.
-
The camera dialog.
References
- ↑ ScratchCat. (13/05/21). "While this vision and feature do promote creative expression, a feature which was designed to encourage people to share pictures of themselves does not meet our privacy standards. In response to this, we have removed the feature which created a costume or backdrop from the camera." topic:513228