✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Given the following code, a student holds the mouse down for a few seconds, then releases it. What do they observe?
function setup() { createCanvas(500, 500); background(220, 220, 220);}
function draw() { if (mouseIsPressed) { fill(255, 0, 0); } else { fill(0, 0, 255); } ellipse(250, 250, 80, 80);}