Timed button press

I'm trying to make a mini game where a series of pictures flash on the screen on after another, and the player has to press the corresponding buttons within a very limited time (60 frames/30 frames for each picture) and missing any one resets the mini game right away.

Basically QTE but for individual buttons and not in a chain commands style
Also it seems like you could event this if it's on the map, although I'm not familiar with VX Ace.

Original thread: https://forums.rpgmakerweb.com/threads/timed-button-press.158346/