Event progressing on user input

Is there a way to have an event progress when the user clicks the mouse?
In my project I am using pictures, and I would like the picture to be displayed indefinitely, until the user clicks the mouse, or presses the action button. Then it should move on to the next picture. Is tis possible?

I was thinking of using loops, but I can’t work out how to call the break loop command on a click, rather than just waiting.
no need for loops, the best solution is much simpler.

>show picture
>show text (invisible background, no text)
>erase picture
next sequence

If you use a show text command without any text and set it to invisible background, the text window will remain invisible to the player. But the computer will still wait for the action button to confirm the text before going to the next command...

Original thread: https://forums.rpgmakerweb.com/threads/event-progressing-on-user-input.119291/