Hi Michael, I am sorry, I tried to be more concise. I will try to explain. it better now.

During this task I will present on the center of screen in a alternated sequence one of two different symbols (A or B) each one for 10 seconds, and a point counter at the top of the screen (just a text showing a variable = 0). The participant will be instructed to press the space bar to produce points.

I see that naturally psychopy register (if I choose the correct options) all the space presses and all the time they happened - This is also an important data for my experiment.

The issue is that the point will be only added in the counter if the participant press the spacebar after a certain amount of time (e.g. 5 seconds). In other words, the stimulus A is on the screen, the participant start to press the space bar and every press before five seconds will produce no change, but the first press after 5 seconds will give him one point. If he does not press the space bar after 5 seconds, and the total time of the stimulus on the screen pass (e.g. 10 seconds) he does not make any point and the second symbol (B) is presented.

During B symbol he have to press the spacebar again, but he will make a point only if he presses it after second 3 and another one after second 6 for example. Again, if he presses earlier than 3 nothing happens. The first press after 3 start the counting to check if he will be able to gain another point after six only. If he presses only after 6 seconds he gains only one point. If he does not press after any of these times the B symbol will end after ten seconds.

Basically the procedure is a variable interval (but it does not have to be randomly assigned, I could insert the exact values of the interval symbol per symbol) and only if the participant presses the space bar after the determined interval a point will be added in his point counter.

I am familiarized with all the builder options in Psycho py. However to make this point counter works and also to include the condition that the participant have to press after a certain interval is what is making me struggle.

If you have any suggestion I would appreciate a lot!

Thank you very much!