From Test-Scratch-Wiki

清单 () 隐藏
清單 [ v] 隱藏
类别 清单类积木
形状 条形积木
加入于 2.0

The Hide List () 积木 is a 清单类积木 and a 条形积木. The block hides the specified 清单舞台监控视窗. This block was added in Scratch 2.0.

The block was originally going to be 监控视窗隐藏, hiding both 变量s and lists, but this was changed in the beta.

用法示例

In 专案 that use lists' 舞台 monitors to display things, the displays may have to hide and show at times; with the 清单 () 显示 block, this can be done.

Some popular uses are:

  • Hiding an inventory
當 [z v] 鍵被按下
說出 [You slowly close your backpack.] (2) 秒
清單 [Inventory v] 隱藏
  • Hiding output
當角色被點擊
詢問 [Are you sure that you do not want to see the results? (Y/N)] 並等待
如果 <(詢問的答案) = [Y]> 那麼 
  清單 [Results v] 隱藏
end
說出 [Okay then!] (2) 秒
  • Preparing a project
當 @greenflag 被點擊
清單 [Inventory v] 隱藏
清單 [Stats v] 隱藏
清單 [To-do v] 隱藏
說出 [This morning you woke up to a nice steaming cup of coffee.] (2) 秒

参见

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