ldr sensor and motor rotation

if(sensorValue<200)
{
digitalWrite(13, HIGH);
delay (1000) ;
digitalWrite ( 13, LOW ) ;
delay ( 2000);
}

else digitalWrite(12, HIGH);
delay ( 1000 );
digitalWrite ( 12, LOW );
delay ( 2000) ;
// set the LED on

here some of my code, but the problem is when LDR sense the value < 200, it will turn on first motor for certain time, but the problem is, while the motor turn on, eventhough ldr sensor > 200, other motor will not turn on till first motor finish turn on for the delay...i want it to be instantaneously..anyone help

i want it to be instantaneously

Suppose the delay() function were renamed to sitOnYourThumbsDoingNothingUntilEnoughTimeHasPassed().

Do you suppose that you could figure out how to make the motors come on at the same time?

If not, then here's a hint. Do not use the sitOnYourThumbsDoingNothingUntilEnoughTimeHasPassed() function.

Difficult to tell, but is that "else" clause missing some braces?

Have a look at the blink without delay example included in the IDE.