It is better to use flour. If you use cornstarch, be very careful not to let the gravy scorch or it will become very thick and difficult to correct. Cornstarch also makes a slightly cloudy gravy.