256 pen sizes, from 0 to 255. This is the maximum in the Flash Player.

Pen size is a value given to all sprites. The default is 1 (a single pixel), but can be changed with the pen size blocks.

Use in Scripts

Pen size can be used in animation, drawing, and much more. To change it, you raise or lower the value.

Constraints

In Scratch 1.4, offline, the pen size can be between 1 and 960 (inclusive); in the Java Player, the pen size can be up to 500; in the Flash Player, the pen size can be up to 255.[1] Scratch 3.0 has effectively no limit on pen size.[2]

Related Blocks

A sprite's pen size can be altered with these blocks, all found in the Pen Blocks palette:

See Also

References

  1. https://github.com/LLK/scratch-flash/blob/master/src/scratch/ScratchSprite.as#L264
  2. https://github.com/LLK/scratch-vm/blob/develop/src/extensions/scratch3_pen/index.js#L94