Use photoresistor to stop actuator.

We need to know about this actuator and what sensor you are using.