bool pressing()
Returns true when an object is within the field of view and is currently passing by.
Example
LineCounter l = LineCounter(Brain.ThreeWirePort.A);
while(true){
if(l.pressing()){
Brain.Screen.print("Object passing by");
}
task::sleep(10);
}