timeToStart = 0;
timeToStop = 3;

if ((time > timeToStart) && (time < timeToStop)){
wiggle(20,20);
}else{
value;
}