From Test-Scratch-Wiki

(Redirected from Eng:Show Variable ())

Show Variable ()
2.0 Show Variable ().png
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]
  • Toggle sliders in a simulation
when key [space v] 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
forever
show variable [score v]

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.