Move the mouse to position the shape. Press the mouse button to invert the color. 100% Pen! Stat: 4 My Blocks 5 Variables
This was a Processing example project: https://processing.org/examples/MousePress.html All the Scratch translations are by me! Completed successfully! /*code in Processing*/ /** * Mouse Press. * * Move the mouse to position the shape. * Press the mouse button to invert the color. */ void setup() { size(640, 360); noSmooth(); fill(126); background(102); } void draw() { if (mousePressed) { stroke(255); } else { stroke(0); } line(mouseX-66, mouseY, mouseX+66, mouseY); line(mouseX, mouseY-66, mouseX, mouseY+66); }