// Populate an array with the sum of mouse coords int coords[]=new int[100]; // Initially empty int i=0; // Start from the first item void setup() { size(400,400); } void draw() { if(i