diff --git a/src/content/reference/en/p5/mouseWheel.mdx b/src/content/reference/en/p5/mouseWheel.mdx index 12317224e2..e90ac41591 100644 --- a/src/content/reference/en/p5/mouseWheel.mdx +++ b/src/content/reference/en/p5/mouseWheel.mdx @@ -97,7 +97,7 @@ example: background(200); // Draw the circle - circle(circleSize, 50, 50); + circle(width / 2, height / 2, circleSize); } // Increment circleSize when the user scrolls the mouse wheel.