Will LDR sensor module latency be a problem?

In this case, would I be able to just use an LED as the detector? (sorry I'm a bit new to electronics)