xxxxxxxxxx
16
let fruits;
let c;
function preload(){
fruits=loadImage("fruits.png");
}
function setup() {
createCanvas(400, 400);
}
function draw() {
image(fruits,0,0);
background(0,0,255,50);
c=fruits.get(mouseX,mouseY);
fill(c);
circle(mouseX, mouseY,20)
}