MV Smash Button MiniGame - Input Image / Help

Hello, I need help for something small. This might be something really simple but I can't seem to figure it out. 😐
The event commands works the way I like it but I want to display the button smash in this minigame. But I can't figure out where to place my images onto my current event commands. (And have them disappear after the minigame is over.)
(it's two images)

Screen Shot 2025-10-26 at 3.50.18 AM.png


PS. I would much more prefer if you can show me your advice through the images. You can draw over my images if you need to,. To avoid any confusions, I'm visual learner.
Screen Shot 2025-10-26 at 3.29.28 AM.png

Spoiler: event commands
Screen Shot 2025-10-26 at 3.27.58 AM.png
when you press down, use the shift2 button, else shift 1 if not (basic)
if its over, where you say "you won!" erase image 1 (safeguard erase image 2)
as image 2 may be there if they hold it.

I wont use button is pressed but scriptcall: Input.isTriggered("shift") instead.
so it doesn't retrigger when pressing down, pressing down can repeat it self,
so they don't have to press the button continu.
when you press down, use the shift2 button, else shift 1 if not (basic)
if its over, where you say "you won!" erase image 1 (safeguard erase image 2)
as image 2 may be there if they hold it.

I wont use button is pressed but scriptcall: Input.isTriggered("shift") instead.
so it doesn't retrigger when pressing down, pressing down can repeat it self,
so they don't have to press the button continu.
1-2.png
2-2.png


i tried following what you said but it doesn't seem to "click". i probably might've made it more complicated
I need to see the entire event top to bottom.
to see what went wrong.

I don't know if shift is default or a keymapper required.

is it the entire event in play?
does it even function?

as I don't see a switch when it succeed, otherwise, it
may loop constantly where it keep looping if its a parallel.

so what does work and what does not?
where is the timer set and the conditions to run this event?
View attachment 351943View attachment 351944

i tried following what you said but it doesn't seem to "click". i probably might've made it more complicated

1761480915123.png
1761480966682.png


I've remade the event from scratch in my game and it works as intended! The only major change was adding a "Wait 1 frame" command before the loop repeats, otherwise the whole game freezes ^^;
Even if your game wasn't freezing, maybe the loop was just repeating too fast for you to see the image actually changing?

And as an extra QoL I've moved the success check to be inside the loop, so that reaching it breaks the loop immediately and the player doesn't need to wait until the end of the timer, while the failure check can stay at the end of the loop

It MIGHT still need an extra success check after the loop ends? just as a very broad safety net? but i think that's an edge case
I need to see the entire event top to bottom.
to see what went wrong.

I don't know if shift is default or a keymapper required.

is it the entire event in play?
does it even function?

as I don't see a switch when it succeed, otherwise, it
may loop constantly where it keep looping if its a parallel.

so what does work and what does not?
where is the timer set and the conditions to run this eve
OMG IT WORKS NOW!! Thank you so much for much for the visual explanation, it helped me alot!! 😢 Ohh, so that's what it was~ I was struggling abit bc this code wasn't necessarily mine so I didn't quite understand alot of it. OTL

Oh, for extra success check? May I ask for an example? So extra sound effects/congrats message?
Oh, for extra success check? May I ask for an example? So extra sound effects/congrats message?
Actually, scratch that. Thinking back about it, I overcomplicated it by moving the success check around. Just do this instead:

1761601750159.png
Keep the success/fail check outside of the loop, but if the player reaches the 20 presses before the timer ends, break the loop immediately so it instantly goes to the check. This is just a lot cleaner lmao
Actually, scratch that. Thinking back about it, I overcomplicated it by moving the success check around. Just do this instead:

View attachment 352020Keep the success/fail check outside of the loop, but if the player reaches the 20 presses before the timer ends, break the loop immediately so it instantly goes to the check. This is just a lot cleaner lmao

😢 It worked perfectly!! Thank you so much!! I really appreciate your help!!

Original thread: https://forums.rpgmakerweb.com/threads/smash-button-minigame-input-image-help.180713/