diff --git a/src/dom/dom.js b/src/dom/dom.js index 2f04be1ef2..d35fbc4ea3 100644 --- a/src/dom/dom.js +++ b/src/dom/dom.js @@ -2023,7 +2023,7 @@ p5.prototype.createInput = function (value = '', type = 'text') { * let y = i * 20; * * // Draw the image. - * image(img, 0, y, 100, 100); + * image(images[i], 0, y, 100, 100); * } * * describe('A gray square with a file input beneath it. If the user selects multiple image files to load, they are displayed on the square.');