Clearing mouse and keyboard click buffers in back-to-back routines in a loop

You can’t have two keyboard responses with the same name, so I’m not sure what you are explaining here. For keyboard responses there is an option to discard previous key presses, so the .5 second delay shouldn’t be needed (irrespective of whether you have sequential routines with different names or a loop re-presenting the same routine). If you use event.getKeys(), which is no longer recommended, then you need to use code to discard key presses prior to the routine.