Pen
Jump to navigation
Jump to search
Split
This article is a candidate for splitting into Pen and Pen+. You can discuss this on the talk page.
The Pen extension is an extension that originally comes from Scratch which allows sprites to paint on the backdrop.
Scratch Blocks
erase all
stamp
pen down
pen up
set pen color to [#ff0000]
change pen (color v) by (10)
set pen (color v) to (50)
change pen size by (1)
set pen size to (1)
Legacy
New Blocks
- set print font to ()
- set print font size to ()
- set print font color to ()
- set print font weight to ()
- turn print font italics []
- print () on x: () y: ()
- preload image () as ()
- unload image ()
- draw image ( ) at x: ( ) y : ( )
- draw image ( ) at x: ( ) y : ( ) width: ( ) height: ( ) pointed at: ( )
- draw image ( ) at x: ( ) y : ( ) width: ( ) height: ( ) cropping from x: ( ) y: ( ) width: ( ) height: ( ) pointed at: ( )
- use ( ) to draw a square on x: ( ) y : ( ) width: ( ) height: ( )
- draw triangle [ x: ( ) y: ( ) x: ( ) y: ( ) x: ( ) y: ( ) ] with fill ( )
Pen+
Pen Properties
- < pen is down? >
- ( pen ( ) )
- draw dot at ( ) ( )
- draw line from ( ) ( ) to ( ) ( )
Square Pen Blocks
- stamp pen square
- stamp pen square with the texture of ( )
- set pen square's ( ) to ( )
- ( Get pen square's ( ) )
- tint pen square to ( )
- reset square Attributes
Triangle Blocks
- set triangle filter mode to ( )
- set triangle point ( )'s ( ) to ( )
- set triangle's ( ) to ( )
- tint triangle to ( )
- ( get triangle point ( )'s ( ) )
- reset triangle attributes
- draw triangle between ( ) ( ) , ( ) ( ) and ( ) ( )
- draw textured triangle between ( ) ( ) , ( ) ( ) and ( ) ( ) with the texture ( )
Color
- ( Red ( ) Green ( ) Blue ( ) )
- ( Hue ( ) Saturation ( ) Value ( ) )
Images
- set imported images wrap mode to ( )
- add blank image that is ( ) and the size of ( ) , ( ) named ( ) to Pen+ Library
- add image named ( ) from ( ) to Pen+ Library
- remove image named ( ) from Pen+ Library
- < does ( ) exist in Pen+ Library >
- ( get data uri for costume ( ) )
- ( get the ( ) of ( ) in pen+ costume library )
- set pixel ( ) ( )'s color to ( ) in ( )
- ( get pixel ( ) ( )'s color in ( ) )
- ( get data uri of ( ) in the pen+ costume library )
Advanced Options
- turn advanced setting ( ) ( )
- set [ ] to ( )