void setup(){ size(300,100); } void draw(){ background(200); line(mouseX,0,mouseX,100); }