for 1 cup (240 ml) of custard, use 2 tablespoons (17 g) of flour mixed with 4 tablespoons (59 ml) of cold water. add the mixture into your custard ingredients as they cook on the stove. use cornstarch as an alternative to flour. cornstarch, like flour, requires cold water as a mixing agent.