PVector spot(PVector v1,int agentNum){ PVector v2=a[agentNum].pos; PVector v3= new PVector(0,0); v3.set(v1); v3.sub(v2); v3.div(900); return v3; }