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) 秒
参见
Zho:变数类积木 | |
Zho:清单类积木 |
()
• 新增项目 () () • 删除第 () 项 () • 添加 () 为第 () 项 • 替换第 () 项于 () 成 () • 清单第 () 项项目 () • 清单 () 的项目数 • 清单 () 包含 () • 清单 () 显示 • 清单 () 隐藏更多积木… |