From Test-Scratch-Wiki

Translate: - English - 中文 
笔迹亮度设为 ()
筆跡亮度設為 (50)
类别 画笔类积木
形狀 条形积木

The Set Pen Shade to () 积木 is a 画笔类积木 and a 条形积木. The block sets the 笔迹亮度 to the specified amount. A 200 pen shade value is the same shade as a 0 pen shade value. In other words, if you change the pen shade by 200, the shade still looks the same.

The possible shades you can get using the Set Pen Shade to ().png block without changing 笔迹颜色.

用法示例

In art 专案, the pen that the viewer controls might want to be pressed harder or lighter — this block does the job.

Some common uses for the Set Pen Shade to () block:

  • Repeatedly choosing the pen shade while the pen is being used to create art with different shades
重複無限次 
  筆跡亮度設為 (隨機取數 (0) 到 (100))
end
  • Setting pen shades for an art program
詢問 [Shade?] 並等待
筆跡亮度設為 (詢問的答案)
  • In projects that draw objects with the pen, choosing the shade of the object(s)
重複 (200) 次 
  移動 (1) 點
  筆跡亮度設為 (隨機取數 (0) 到 (100))
end

参见