Hi, everyone!
My idea is to repeat a sequence in 10 seconds,(e.g. repeat pressing 3124). Each time a key is pressed, a mark appears on the screen indicating that the current press is successful. Until the full-sequence(3124) is pressed, the four marks disappear, and start a new round. The process lasts 10 seconds.
Now I’ve added a keyboard and 4 text components in a routine to display the mark. And the first sequence works fine. How do I add loops?I have two ideas:
- Loop 4 text components inside the routine(set keyborad component duration 10s)
- Loop routine, limiting the time to 10 seconds(end the loop until 10s)
There are only two ways I can think of, but I don’t know how to do both.
I am very appreciate that if there have any replies!
Thanks,
Yang