Encoding the Location of Objects with a Scanning Sensorimotor System