mouseYGlobalThe y mouse coordinate
createWindow(400, 400);
function draw()
background(51);
line(0, mouseY, width, mouseY);
endmouseYGlobalThe y mouse coordinate
createWindow(400, 400);
function draw()
background(51);
line(0, mouseY, width, mouseY);
end