(Redirected from Show Variable ())

Show Variable ()
show variable [ v]
Category Variables
Type Stack
Introduced in 1.3

The Show Variable () block is a Variables block and a Stack block. The block shows the specified Variable's Stage monitor.

Example Uses

In projects that use variables' Stage monitors to display things, the displays may have to hide and show at times; this can be done with the Hide Variable ().

Some popular uses are:

  • Displaying statistics at the end of a game:
when I receive [game end v]
show variable [score v]
  • Toggling sliders in a simulation:
when [space v] key pressed
show variable [width v]
show variable [height v]
show variable [depth v]
show variable [contrast v]
  • Constantly keeping a variable at the front layer:
when gf clicked
show variable [score v]

See Also