list of points
:go to point
and draw from point to point
).stamp
block is built into Snap!. It puts a picture of the sprite's costume on the stage at the sprite's location.list of points
reporter, and try to understand its structure. For example:
forever
block. When, and how, does it report a value?if else
block testing, and why?list of points
, or does it have to be global?list of points
in a global variable and using your draw points
to recreate the shape you drew. Debug any problems.Abstraction: Notice how convenient it is to have point
, y coordinate of
, go to point
, draw from point to point
, etc., already built to use the point abstract data type. Once you've created a point from the mouse coordinates, you never have to think about coordinates again in this activity.