void checkWorld(){
		PVector toBest = new PVector(); //create a temp vector to keep track of the direction of the best condition
		float maxV = 0;

		//loop through pixels
		for (int i = -p5.searchRad; i <= p5.searchRad; i++){
			for (int j = -p5.searchRad; j <= p5.searchRad; j++){
				if(!(i == 0 && j == 0)){
					//checks for edges
					int x = Stig2D.floor(location.x)+i;
					x = Stig2D.constrain(x, 0, p5.width-1);
					int y = Stig2D.floor(location.y)+j;
					y = Stig2D.constrain(y, 0, p5.height-1);

					//check to see if this is the smallest current value
					//scale by the distance to the value
					float v = p5.world.getAt(x, y);
					PVector toV = new PVector(i, j);

					//limit the angle of vision
					if(PVector.angleBetween(toV,velocity)<Stig2D.PI/2){

						//check to see if the current value is larger than 
						//the current best
						if((v) > maxV){

							//reset all our variables that keep track of the best option
							float d = toV.mag();
							toV.mult(1/d);

							toBest = toV;
							maxV = v;
						}
					}
				}
			}
		}

		//only effect if finding something above a tolerance
		if(maxV>20){
			applyForce(toBest);
		}
	}