Multiple inputs for the same thing?

Hey there! I was wondering if it's possible to have two different inputs that lead to the same thing in VN maker?

My visual novel is kind of set up like a comic. Instead of having sprites & message boxes over backgrounds I just have flat images/panels that you click through. So my scenes are all basically just "change background, wait for input (mouse click), change background, wait for input (mouse click), change background"

But I want you to be able to either click or use the right arrow key to advance to the next panel/"background." Just those two options. Is there a good way to do this?? I thought this would be simple but for some reason I just can't figure out how to do it hahah. Any help is super appreciated!
I figured out one solution. Someone asked something similar on the Steam page (about multiple inputs that lead to different outcomes), so I took the answer there and applied the principles to this

solution1.PNG


I think it's pretty simple, just kinda long! It's basically just saying: wait for input, and if you press the mouse or the arrow key, then jump to the label for the next panel. But if you don't press one of those, then go back to the beginning. It forces you to only be able to use the inputs you chose with the input data commands. If you press something else, nothing will happen. You're trapped forever :LZScat:

I tried to streamline it by storing both in the same variable, but it didn't work, so this is the most condensed I could get it hahah. I was probably just doing something wrong though

Anyway, this definitely works! And I'm sure it would work with more than 2 inputs, if anyone wanted to do that

Original thread: https://forums.rpgmakerweb.com/threads/multiple-inputs-for-the-same-thing.134712/