Vex Ultrasonic Range Module Code with Arduino Uno

The Burns Engineering Conglomerate (I'm sure you have heard of us) is trying to incorporate an ultrasonic range module into our code to use it as a "security laser" in a sense. So we can tell on the computer when an object obstructs its beam. What will the code look like? And is it possible? Will the sensor be able to complete this task

Google "arduino vex ultrasonic sensor"