We have designed an assay that measures approach and avoidance behaviors in head-fixed mice at millisecond timescale, is compatible with standard electrophysiological and optical methods for measuring ...