From Test-Scratch-Wiki

Translate: - English - 中文 
筆跡寬度改變 ()
筆跡寬度設為 (10)
類別 畫筆類積木
形狀 條形積木

The Change Pen Size by () 積木 is a 畫筆類積木 and a 條形積木. The block changes the pen's size by the specified amount.

用法示例

In art 專案 where users draw things, the pen size may want to be changed —this block does the job.

Some common uses for the Change Pen Size by () block:

  • Repeatedly changing the pen size while the pen is being used to create interesting art
  • Changing pen sizes for an art program
  • In projects that draw objects with the pen, changing the size of the object(s)

應用

This block cannot be replicated with other Scratch blocks, due to the fact that there is no block that holds the pen size. However, if the block existed, the Change Pen Size by () block could be replicated with the following code:

筆跡寬度設為 ((pen size) + (amount))

Nevertheless, that is how Scratch itself does it.

參見