NetLogo 7.0.0-beta2:

gogo:read-sensor

gogo:read-sensor which-sensor

Reports the value of sensor number which-sensor, where which-sensor is a number between 0-7.

Take me to the full GoGo Extension Dictionary