m (moved Stage Monitors to Stage Monitor: I think this should be singular.)
 
(Small tweaks, made capitalization of 'Stage' consistent, rewrote list section)
 
(68 intermediate revisions by 30 users not shown)
Line 1: Line 1:
A '''stage monitor''' is a little display that shows the value of a [[()|variable]], boolean, or a list/array.<br />[[File:Monitors.PNG|thumb|Some stage monitors.]]
+
[[File:Monitors.png|thumb|277px|Some '''Stage monitors'''.]]A '''Stage monitor''', sometimes called a '''watcher''', is a display on the [[Stage]] that shows the value of a [[variable]], [[Boolean Block|boolean]], or a [[list]]. The color behind any number on a Stage monitor is the base color of the block it is corresponding to (in [[Scratch 1.x]] only, a Stage monitor can be made any color by [[Shift-Click-R|Shift-clicking the R]] and changing the color of the block). They can be shown and hidden by selecting and un-selecting the small box to the left of the [[Blocks|block]].
  
== Types of monitors ==
+
In the early developmental stages of [[Scratch]], the Stage monitors were green.<ref>http://web.archive.org/web/20070116125734/http://weblogs.media.mit.edu/llk/scratch/archives/2006/09/scratch_light.html</ref>
There are four types of stage monitors. You can change between most of them by right-clicking the monitor.
 
  
*<u>Normal readout</u>: The typical stage monitor. Shows both the name and the value of the variable.
+
==Usage==
*<u>Large readout</u>: Shows only the value, in a larger font than the normal readout.
+
Monitors are often used for displaying variable data in a project or troubleshooting. For instance, monitors may be used to display a score. For troubleshooting, [[script]]s can become quite complex at times, and having a method by which variables can be analysed at ease can increase productivity toward solving [[bug]]s.
*<u>Slider</u>: Lets the user change manually the value of a variable, inside a range which can be defined by right-clicking the stage monitor on the stage and choosing two numbers.
+
 
*<u>List</u>: Exclusive to lists (this is also the only display that can be used by them), this shows all the elements of the list, and on edit mode, can be resized, and edited to add, remove, or change items.
+
==Display Types of Monitors==
 +
[[File:All var right-click options.png|frame|Right-clicking a Stage monitor brings up these options.]]
 +
There are three types of display for Stage monitors, plus a default display for [[lists]]. Most of them can be switched between by right-clicking the monitor and selecting an option.
 +
===Variables===
 +
====Normal Readout====
 +
The typical Stage monitor that appears when a variable is created. This shows both the name and the value of the variable.
 +
====Large readout====
 +
This shows only the value, and in a larger font than the normal readout.
 +
====Slider====
 +
[[File:Slider Min And Max.PNG|thumb|right|Setting the slider min and max.]]
 +
This lets the user manually change the value of a variable inside a range which can be defined by right-clicking the Stage monitor on the [[project]] screen and choosing two numbers. Only available for variables.
 +
===Built-in Reporters===
 +
Built-in [[reporters]] (such as the [[X Position (block)|X Position]] block) have the normal and large readout displays available, but they exclude the slider option since they cannot manually be set to any designated value but are associated with a particular sprite or other value.
 +
===Lists===
 +
Lists only have one display style, which shows all the elements of the list, and in [[See Inside]] mode, can be resized and edited to add, remove, or change items. By right clicking, a list can also be exported or imported.
 +
 
 +
==How to Make Duplicate Monitors==
 +
{{obsolete feature|cat=no}}
 +
#Use the delete button (the scissors on the top of the Scratch program) on the Stage monitor (this deletes the monitor).
 +
#Click Edit, then Undelete. Place it anywhere on the Stage.
 +
#Click the checkbox that will show and hide the Stage monitor.
 +
Another Stage monitor of the value will appear. Both monitors are functional, and will change accordingly to their value.
 +
===Scratch 1.4===
 +
In [[Scratch 1.4]], [[Shift-Click-R|shift-click the R]] in Scratch at the top left corner of the Scratch program. Then, hold {{key press|alt}} and click on the watcher until only the watcher is outlined with options. Click on the green option with boxes on it (top-right corner of outline) and drag the new watcher into place.
 +
 
 +
==How to change the Watcher Color==
 +
{{obsolete feature|cat=no}}
 +
*Create a Stage Monitor
 +
*[[Shift-Click-R]]
 +
*Continually-right-click on the number until the pink text below the watcher reads "<code style="color:darkPink">WatcherReadoutFrame</code>"
 +
*Click on the red circle which appears above it.
 +
*Select "Change color..." and pick a color.
 +
 
 +
==Complete List of Stage Monitors==
 +
===Motion===
 +
*[[X Position (block)|X Position]]
 +
*[[Y Position (block)|Y Position]]
 +
*[[Direction (block)|Direction]]
 +
===Looks===
 +
*[[Costume Number (block)|Costume #]]/[[Background Number (block)|Background #]]
 +
*[[Size (block)|Size]]
 +
===Sensing===
 +
*[[Answer (block)|Answer]]
 +
*[[Timer (block)|Timer]]
 +
*[[Loudness (block)|Loudness]]
 +
*[[Loud? (block)|Loud?]]
 +
====Sensors====
 +
*[[() Sensor Value (block)|slider sensor value]]
 +
*[[() Sensor Value (block)|light sensor value]]
 +
*[[() Sensor Value (block)|sound sensor value]]
 +
*[[() Sensor Value (block)|resistance-A sensor value]]
 +
*[[() Sensor Value (block)|resistance-B sensor value]]
 +
*[[() Sensor Value (block)|tilt sensor value]]
 +
*[[() Sensor Value (block)|distance sensor value]]
 +
*[[Sensor () (block)|sensor button pressed]]
 +
*[[Sensor () (block)|sensor A connected]]
 +
*[[Sensor () (block)|sensor B connected]]
 +
*[[Sensor () (block)|sensor C connected]]
 +
*[[Sensor () (block)|sensor D connected]]
 +
===Sounds===
 +
*[[Volume (block)|Volume]]
 +
*[[Tempo (block)|Tempo]]
 +
===Variables===
 +
*[[() (Variables block)|Variables]]
 +
*[[() (Lists block)|Lists]]
 +
 
 +
==See Also==
 +
* [[Block Palette]]
 +
* [[Variable]]
 +
* [[Reporter]]
 +
 
 +
==References==
 +
<references/>
 
[[Category:Scratch Program]]
 
[[Category:Scratch Program]]
 +
[[Category:Scratch Program Tutorials]]
 +
[[ja:ステージモニター]][[de:Bühnenanzeige]]

Latest revision as of 01:41, 12 June 2020

Some Stage monitors.
A Stage monitor, sometimes called a watcher, is a display on the Stage that shows the value of a variable, boolean, or a list. The color behind any number on a Stage monitor is the base color of the block it is corresponding to (in Scratch 1.x only, a Stage monitor can be made any color by Shift-clicking the R and changing the color of the block). They can be shown and hidden by selecting and un-selecting the small box to the left of the block.

In the early developmental stages of Scratch, the Stage monitors were green.[1]

Usage

Monitors are often used for displaying variable data in a project or troubleshooting. For instance, monitors may be used to display a score. For troubleshooting, scripts can become quite complex at times, and having a method by which variables can be analysed at ease can increase productivity toward solving bugs.

Display Types of Monitors

Right-clicking a Stage monitor brings up these options.

There are three types of display for Stage monitors, plus a default display for lists. Most of them can be switched between by right-clicking the monitor and selecting an option.

Variables

Normal Readout

The typical Stage monitor that appears when a variable is created. This shows both the name and the value of the variable.

Large readout

This shows only the value, and in a larger font than the normal readout.

Slider

Setting the slider min and max.

This lets the user manually change the value of a variable inside a range which can be defined by right-clicking the Stage monitor on the project screen and choosing two numbers. Only available for variables.

Built-in Reporters

Built-in reporters (such as the X Position block) have the normal and large readout displays available, but they exclude the slider option since they cannot manually be set to any designated value but are associated with a particular sprite or other value.

Lists

Lists only have one display style, which shows all the elements of the list, and in See Inside mode, can be resized and edited to add, remove, or change items. By right clicking, a list can also be exported or imported.

How to Make Duplicate Monitors

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.
  1. Use the delete button (the scissors on the top of the Scratch program) on the Stage monitor (this deletes the monitor).
  2. Click Edit, then Undelete. Place it anywhere on the Stage.
  3. Click the checkbox that will show and hide the Stage monitor.

Another Stage monitor of the value will appear. Both monitors are functional, and will change accordingly to their value.

Scratch 1.4

In Scratch 1.4, shift-click the R in Scratch at the top left corner of the Scratch program. Then, hold alt and click on the watcher until only the watcher is outlined with options. Click on the green option with boxes on it (top-right corner of outline) and drag the new watcher into place.

How to change the Watcher Color

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.
  • Create a Stage Monitor
  • Shift-Click-R
  • Continually-right-click on the number until the pink text below the watcher reads "WatcherReadoutFrame"
  • Click on the red circle which appears above it.
  • Select "Change color..." and pick a color.

Complete List of Stage Monitors

Motion

Looks

Sensing

Sensors

Sounds

Variables

See Also

References

  1. http://web.archive.org/web/20070116125734/http://weblogs.media.mit.edu/llk/scratch/archives/2006/09/scratch_light.html