I have had this problem ever since i was introduced to c++. I have this code written for autonomous but dont know how to make the IntakeGroup and dt move at the same time.

dt.driveFor(20, inches);

dt.driveFor(-20, inches);

dt.turn(vex::turnType::left);

dt.driveFor(20, inches);

IntakeGroup.rotateFor(20, seconds);

dt.driveFor(20, inches);

Controller1.Screen.print(“*moan*”);