antilock sensors adjustment

Hi Im new to the forum, I put new brakes on and rotors a 2005 Kodiak and a the anti lock light came on,
the sensors go into the hub by friction ,I slid them in and out and adjusted them close to the gear with out touching they seem to work but I was wondering if there was a speck for how close (or far ) the sensor should be to the gear,any info ill help