You can substitute cornstarch with all-purpose flour, but you'll need to double the amount as flour doesn't have as much thickening power.