From Test-Scratch-Wiki

Translate: - English - 中文 
笔迹亮度改变 ()
筆跡亮度改變 (10)
类别 画笔类积木
形狀 条形积木

The Change Pen Shade by () 积木 is a 画笔类积木 and a 条形积木. The block changes the 笔迹亮度 by the specified amount.

用法示例

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 Change Pen Shade by () block:

  • Repeatedly changing the pen shade while the pen is being used to create art with different shades
重複無限次 
  筆跡亮度改變 (1)
end
  • Changing pen shades for an art program
詢問 [Change shade by what amount?] 並等待
筆跡亮度改變 (詢問的答案)
  • In projects that draw objects with the pen, changing the shade of the object(s)
重複 (200) 次 
  移動 (1) 點
  筆跡亮度改變 (1)
end

应用

This block cannot be replicated with other Scratch blocks, due to the fact that there is no block that holds the pen shade.

However, if the block existed, the Change Pen Shade by () block could be replicated with the following code:

筆跡亮度設為 ((pen shade) + (amount))

Nevertheless, that is how Scratch itself does it.

参见