A very simple emulation of a rectangle tool. Click and drag to draw a rectangle.
▭ ▭ ▭ Notes ▭ ▭ ▭ This is just the most basic functionality - drawing a single rectangle when you click and drag. Here are some challenges, with increasing difficulty: □ Add sliders controlling line width and color □ Add fill color □ Enable multiple rectangles (make it appear as if rectangles aren't erased when you draw new ones) □ Code an efficient fill algorithm that doesn't cause lag Good luck! ▭ ▭ ▭ Credits ▭ ▭ ▭ I made this in response to this comment by @Sphere_201: https://scratch.mit.edu/users/papipupepappa/#comments-318127592