// image variable PImage david; void setup () { size(600,600); // .gif or .jpg or .png (.png and .gif can be transparent) david = loadImage("arrow.png"); strokeWeight(4); } void draw() { frameRate(120); //display image (name, x, y, width, height) (in pixels) tint(mouseX,124,219); // if the mouse is down, initiate drawing sequence if (mousePressed) { line(mouseX,mouseY,pmouseX,pmouseY); image(david,mouseX,mouseY,50,100); } }