FTC Prototype Board IR Break Beam.

So I was wondering if it was possible to make a custom sensor using the prototype board that is like a detector beam. Where when an object is in the line of the beam the signal is tripped, I know this is simple but how do you do it?

our team just got a IR LED thing and a IR detector and lined them up, if the IR detector is not detecting, then the thing is tripped.

Yes, it is possible to build an IR break beam sensor with the protoboard.
But, there are 2 reasons why it would be illegal for Hot Shot! :

  1. The Q&A response for using LEDs as a sensor
  1. The rule restricting it to visible light only