Stimuli that must be clicked in a certain order to advance to new trial

Greetings, I am new to psychopy and was wondering about having stimuli that need to be clicked in a certain order to advance. The reason behind asking this is because I am trying to have a simple pin entry displayed where users have to input the correct pin in order to advance to the next trial (using mouse clicks instead of keys). Also I understand I could just have identical trials simultaneously with one correct key per trial, however I am not looking to go this route. This is bc I am also planning on having users repeat the pin entry trial multiple times with different pins and variations of the ordering of numbers . Any help would be greatly appreciated!