From Test-Scratch-Wiki

笔迹清除
筆跡清除
类别 画笔类积木
形狀 条形积木

The Clear 积木 is a 画笔类积木 and a 条形积木. The block removes all marks made by the 画笔 or 盖章. This block is the only Pen block that the 舞台 can use.

用法示例

This block is used in almost all 专案 involving the pen (especially graphic editor simulations), as clearing the screen once the project starts would be a main priority.

Some common uses for the Clear block:

  • Clearing the screen in a paint program
當角色被點擊
造型換成 [Pressed v]
筆跡清除
造型換成 [Not Pressed v]
  • Resetting the penning ground in a pattern maker
等待直到 <(dots made) > [50]>
變數 [dots made v] 設為 [0]
筆跡清除
  • Removing stamps in a maze generator or something similar
當收到訊息 [Next maze v]
筆跡清除
廣播訊息 [Generate v]