There was an error while loading. Please reload this page.
Ghosts can be detected using the sensor. The sensor is limited to a range of 100.
Robot.ghostSensor.getPing();
int getPing() will return the distance of the closest ghost (within range) in the direction of travel
int getPing()
int getRadar() will return the distance of the closet ghost (within range) in all directions
int getRadar()