Key hold function in PsychoPy (for Visual Analogue Scale)

I have example based on this method called Key-Down in PsychoPy Online Demos