Archive.png This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.
Say Nothing
Say Nothing.gif
Category Looks
Type Stack
Removed in November 2006 Beta

The (Say Nothing) block was a Looks block and a Stack block. It used to remove the sprite's say/think bubble. It was removed in the November 2006 Beta due to a workaround and was made an obsolete block.[1] The block is not in Scratch 2.0 but is still usable in Scratch 1.4 through modification.

Workaround

Main article: List of Block Workarounds

This block can be replicated with any of the following codes:

say []

or

think []

or

say [] for (0) secs

or

think [] for (0) secs

This block can also be replicated using a custom block.

define say nothing
say []

By using the "say" or "think" blocks with empty string arguments, the block will remove the say/think bubble. Though, using spaces will create a blank but visible say/think bubble.

Examples

  • Advancing through a speech, such as saying a phrase until until the space key is pressed.
say [Hello!]
wait until <key [space v] pressed?>
say [How are you today?]
wait until <not <key [space v] pressed?>>
wait until <key [space v] pressed?>
say nothing ::looks
  • Variable length speech (such as waiting for a player's action before moving on).
when gf clicked
say [Press space to continue!]
wait until <key [space v] pressed?>
broadcast [continue v]
say nothing ::looks
  • Do not say anything even when not touching any water
if <touching color [#7092BE]?> then
say [We found water!]
else
say nothing ::looks
end

Recovery

It is possible to recover this block in Scratch 1.4 by editing the Squeak code in the System Browser. First, choose "Turn fill screen off" in the Shift-Click R menu. Next, click the white area. The World Menu will appear. Choose "open..." Another menu will appear. This time, choose "browser." The System Browser will appear. Next, choose "Scratch-Objects," "ScriptableScratchMorph," "Class," "block specs," and "obsoleteBlockSpecs." Find the code ('say nothing' #- #sayNothing) and remove it. Then, go to "Scratch-Objects," "ScratchSpriteMorph," "Class," "block specs," and "blockSpecs." Type ('say nothing' #- #sayNothing) after ('think %s' #- #think: 'Hmm...'). Right click (Control-click on Linux or Mac) the code. Choose "accept (s)." You may be prompted to type your initials. You can type anything; it does not matter.Click the "x" icon in the upper-left corner of the System Browser. Shift-click the R again, but this time, choose "save image for end-user." A small dialog will appear; choose "yes." Re-open Scratch and go into the Looks category, the say nothing ::looks block will be there.

See Also

References

  1. https://web.archive.org/web/20070814044526/http://llk.media.mit.edu/projects/scratch/download/info-beta-Oct06.html