void Main(string arg) { // Create an instance CruiseControl cc = new CruiseControl(); // Find all the thrusters that point in the direction of where you are going IMyThrust t = GridTerminalSystem.GetBlockWithName("CC (Forward) ") as IMyThrust; // Add them to the cruise control system cc.addThruster(t); // Set its target speed cc.setTarget(23.5); // Recompute on every update cc.recompute(sc.getSpeed()); }