DocumentInQuestion.png It has been suggested that this page's contents be merged with the page Stage Monitor. You can discuss this on the page's talk page. (September 2016)
The various types of variable monitors.

A variable monitor is a display that shows a variable's current value. Variable monitors can be displayed by checking the checkbox adjacent and to the left of a particular variable in the block palette. The variable monitor can be hidden by unchecking the box adjacent to the variable. Monitors may be associated with sprite-specific or global variables.

Usage

Checking and unchecking certain variables to show.

People use variable monitors for displaying variable data in the project or troubleshooting. For instance, somebody might use a variable monitor to show the score of a particular game; it is difficult to create a letter-rendering procedure for variables, so using the built-in monitors is efficient. 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

There are three different types of displays for variable monitors:

  • Normal Readout
  • Large Readout
  • Slider

Right-clicking a variable monitor presents four to five options for user-created variables and three options for built-in reporter variables. All user-created variables, when right-clicked, present the above three display types to switch between. Below those three options is a separating line with a "Hide" option which is an alternative to unchecking the variable monitor box in the block palette. Built-in variables such as x position exclude the slider option since those variables cannot manually be set to any designated value but are associated with a particular sprite or the stage.

If the monitor is set to "Slider" a slider bar appears at the bottom of the monitor to manually adjust the variable's value to any integer between the minimum and maximum points. These minimum and maximum values can be set by right-clicking a slider variable monitor and entering the requested values. When the slider minimum and maximum values are set, the variable defaults to the lowest possible value, forcing the slider leftward until it reaches the end.

See Also