From Test-Scratch-Wiki

Revision as of 00:29, 4 April 2018 by Dnowba (talk | contribs) (Created page with "{{:Eng:Hide List () (block)/translate}} {{Zho/积木 |名 = 清单 () 隐藏 |sb = 清單 [ v] 隱藏 |类别 = 清单类积木 |形狀 = Zho:条形...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

清單 () 隱藏
清單 [ 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.