As I can add more drivetrain engines in vex code, I need to know please if anyone knows help me will be thanked very much
The drivetrain object in VEXcode V5 blocks does not support more than 2 motors.
If your robot’s drivetrain has more than 2 motors, you’ll need to write your own control the drivetrain.
EDIT: I’m wrong, see below.
What about motor groups? Can you pass motor groups into drivetrain class?
OP appears to be asking about VEXcode V5 blocks, which doesn’t support motor groups.
In V5 text, yes, you can do that.
V5 Blocks supports both 2 motor and 4 motor drivetrains.