Set Pen Size to ()
set pen size to ()
Category Pen
Type Stack
Pen sizes from 0 to 1200 with Scratch Cat for comparison.

The Set Pen Size to () block is a Pen block and a stack block. The block sets the Pen Size to the given number.

The pen draws a trail of circles. The diameter of the circle, in pixels, is equal to the pen size.

Example Uses

In art projects where users draw things, one may want to chose the pen size — this block does the job.

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

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


In Scratch 3.0, the largest possible pen size is 1200. 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]

See Also

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