From Test-Scratch-Wiki

笔迹亮度改变 ()
筆跡亮度改變 (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)
  • 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)


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.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.