I tried the event approach:
demo
I ran into the issues that Ralpf mentioned about trying to select the middle picture, so I used Input.trigger? to check for user input rather than the default "button is pressed" condition, which uses Input.press?
`Input.trigger?` appears to be triggered once when you press a button, but it doesn't trigger again until you release the button and then press again.
As opposed to `Input.press?` which triggers as long as the button is being pressed.
Here's a video
Initially I did try meridianbot's challenge without any script calls, and found that a 5-frame wait would be enough of a delay to not automatically set off the "button pressed" condition, so 5-7 frames as Ralpf suggests would be a good amount of delay.
Though, because of the way events work when it comes to waiting, you might end up in a situation where you press a button just at the exact moment that the event is waiting (5-7 frames is a really small time frame, but if you're mashing keys repeatedly it becomes more noticeable)