Making a holding period

Dear colleagues,

I need some help with the code for my PsychoPy experiment. There are two trials in the exp, and in the first one, they are asked to press the button for at least 200 ms so that it comes to the second part. NB! it is not a key on a keyboard, it is a button on the screen which participants should press with their finger (the experiment is conducted on a sensor screen). If participants press the button for a shorter period, a screen with the text “abortion. Please hold the button for a longer time” should appear. Here is what I have written in the code part, but I need to finish it somehow (and I am not sure that the part written is correct). What should I do?