✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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);}