void setup(){ size (300,300); stroke(255); } void draw(){ line(pmouseX,pmouseY,mouseX,mouseY); }