[open] Set duration and change information on the slide due to keypress
I would like to present two pictures next to each other on the same slide for two seconds (The material is in a list in a loop and works so far). However participants have the option of making the picture on the right disappear so that they only see the picture on the left for the full two seconds (explanation: the picture on the right is aversive and so propably want to make use of that option. However, I do not want them to press only to finish early, so they should still see the stimulus on the left for the full two seconds). So I either want the picture to dissappear or just to be covered by a blank picture when they press a key (e.g. the space key).
- if I use a sketchpad, I can set the duration, but it won't react to the keypress, since the slide is already fully loaded (as I understood it)
- if I use a form_base, participants can change the slide by pressing a key, but it seems that I can not set a duration
- if I use to separate sketchpads, the first one including both pictures, the second one only showing the picture on the left when the first slide was ended using the space key, I am afraid that the picture on the left will not be the same as on the first sketchpad since a new one will be taken from the loop.
I hope this does not sound too messy. It would be great if anyone knew a way around this problem and would be willing to share it with me