1. The block "erase all” removes everything that is drawn on the screen backdrop. I used it at the start of my code to make sure the screen is blank before the Cat begins drawing again. I inserted it under "when green flag is clicked" for that reason. 2. After that, I coded the pen movement. I inserted “when green flag is clicked” and then I added a pen on my bottom left. Press (+) this on your bottom left corner, to add a pen block. It is shaded in purple, “my blocks”. I adjusted the pen size how the lines of the square be and pen down to start writing the lines. 3. I used "point in direction 90" block to ensure that the Cat always faces to the right before it starts drawing the squares. This block tells the Cat which way to "move 40 steps”. 90 means facing right on Scratch 4. Then I went to My blocks to create my own code block for the square, and I named it "draw square". Underneath, I inserted repeat 4 times because the square has four sides. Then, I used 40 steps then turned 90 degrees clockwise. Note: you can use any step number for your square; it is optional, but the higher the number, the bigger the square. 5. I used “pen up” to stop writing, so that when the cat finishes writing the third square, it does not leave any lines behind when it moves to the first square underneath to finish the project. Then “pen down” to write the last square.
I used YouTube, ChatGPT, Gemini, and the "ideas" option.