From Test-Scratch-Wiki

变数 () 显示
變數 [ v] 顯示
类别 变量类积木
形狀 条形积木
加入於 1.3

The Show Variable () 积木 is a 变量类积木 and a 条形积木. The block shows the specified 变量舞台监控视窗.


In 专案 that use variables' 舞台 monitors to display things, the displays may have to hide and show at times; this can be done with the 变数 () 隐藏.

Some popular uses are:

  • Displaying statistics at the end of a game
當收到訊息 [game end v]
變數 [score v] 顯示
  • Toggle sliders in a simulation
當 [空白 v] 鍵被按下
變數 [width v] 顯示
變數 [height v] 顯示
變數 [depth v] 顯示
變數 [contrast v] 顯示
  • Constantly keeping a variable at the front layer
當 @greenflag 被點擊
  變數 [score v] 顯示


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